in reply to Perl Constants
which would provide you with a compile-time constant and not use the "glob syntax" you mentioned. Last I saw on p5p, constants had this bad habbit of eating large chunks of ram. So abusing them in such circumstances would not be advisable. YMMV($code).# my constant FOO sub FOO () { 'bar'; }
|
|---|