Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-05-17 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (68 votes). Check out past polls.

    Notices?