« blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/App/Config/Production.pm
↑ Summary
blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/App/Controller/Api/Ping.pm »
| 1 | package App::Constant; | ||
| 2 | use Dwarf::Pragma; | ||
| 3 | |||
| 4 | our(@ISA, @EXPORT); | ||
| 5 | require Exporter; | ||
| 6 | @ISA = qw(Exporter); | ||
| 7 | |||
| 8 | my %constant; | ||
| 9 | BEGIN { | ||
| 10 | %constant = ( | ||
| 11 | TRUE => 1, | ||
| 12 | FALSE => 0, | ||
| 13 | SUCCESS => 0, | ||
| 14 | FAILURE => 1, | ||
| 15 | ); | ||
| 16 | } | ||
| 17 | |||
| 18 | @EXPORT = keys %constant; | ||
| 19 | use constant { %constant }; | ||
| 20 | |||
| 21 | 1; | ||
| 22 |