Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: accessing stashes

by choroba (Archbishop)
on Mar 01, 2019 at 17:11 UTC ( #1230722=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    say defined &My::one;          # 1
    say defined &My::two;          #
    say defined &My::three;        #
    
  2. or download this
    sub four (&@);
    # ...
    say ${My::}{four};             # &@
    
  3. or download this
    sub five (&@) :method;
    say ${My::}{five};             # *My::five
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2021-03-02 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (46 votes). Check out past polls.

    Notices?