Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Accessing main::Constant

by bart (Canon)
on Dec 17, 2009 at 09:02 UTC ( #813158=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub pr { print main::FO1; }
    
  2. or download this
    use constant {
    FO1 => "value"
    };
    
  3. or download this
    sub pr { print +main::FO1; }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2014-07-31 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (252 votes), past polls