Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by petral (Curate)
on Apr 03, 2002 at 14:58 UTC ( [id://156319]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://156319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-18 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found