in reply to (MeowChow) Re2: define.pm - a new pragma to declare global constants
in thread define.pm - a new pragma to declare global constants

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.

    p

Replies are listed 'Best First'.
(MeowChow) Re4: define.pm - a new pragma to declare global constants
by MeowChow (Vicar) on Apr 03, 2002 at 18:51 UTC
    That's a very good point, and a good analogy. I think I'll throw that code back in.
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print