Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Variable will not stay shared in subroutine

by LanX (Saint)
on Feb 03, 2018 at 11:37 UTC ( [id://1208392]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Variable will not stay shared in subroutine
in thread Variable will not stay shared in subroutine

If you really need a nested subroutine for the current scope only, then better use an anonymous one, like already described here by tilly.

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

  • Comment on Re^4: Variable will not stay shared in subroutine

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-25 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found