Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to access a variable inside subroutine?

by LanX (Saint)
on Sep 05, 2020 at 19:48 UTC ( [id://11121387]=note: print w/replies, xml ) Need Help??


in reply to How to access a variable inside subroutine?

The long read

Coping with Scoping

NB: this was written before state was introduced, see my for scoping rules.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found