Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 surveying the Monastery: (6)
As of 2014-09-02 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (19 votes), past polls