Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: (MeowChow) Re2: define.pm - a new pragma to declare global constantsby petral (Curate) |
on Apr 03, 2002 at 14:58 UTC ( [id://156319]=note: print w/replies, xml ) | Need Help?? |
Yeah, comment:   Requiring no define's is a forced use strict;.  Sure, use strict; makes for better maintanability/reusability, but it's not on by default (and if it were, it could be turned off).
Having use define 'just work' seems like it would be a boon during development -- or for one-shots, prototypes, in-house utility hacks, whatever.
In Section
Craft
|
|