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

Re^5: constants wont optimize

by ikegami (Patriarch)
on Jul 10, 2011 at 21:35 UTC ( [id://913638]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use if eval { require mod; 1 }, qw' constant haveMod 1 ';
    
  2. or download this
    use constant haveMod => eval { require mod; };
    
  3. or download this
    use constant {
       map {
    ...
          Bar::Mod
       );
    };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found