Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: constant and eval (are they enemies?)

by Anonymous Monk
on May 22, 2002 at 19:52 UTC ( #168565=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    eval "use constant CONST1 => 5; 1" or warn $@;
  2. or download this
    require constant;
    constant->import(CONST1 => 5);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-06-30 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (97 votes). Check out past polls.

    Notices?