Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: the "our" declaration ?!!

by codeacrobat (Chaplain)
on Jan 20, 2009 at 07:18 UTC ( [id://737492]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # set variable, check items in PKG symbol table
    $ perl -Mstrict -e '$PKG::foo=1; print keys %PKG::'
    ...
    
    $ perl -Mstrict -e 'our $foo=1; print grep {/foo/} keys %main::'
    foo
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found