Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: how to take a hash reference from main::,

by danger (Priest)
on Jan 04, 2001 at 04:03 UTC ( [id://49649]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %main::hash = (one => 1, two => 2, three => 3);
    $main::session = \%main::hash;
    ...
    my $session = $main::session;
    print $session->{two};
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found