Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to extent the scope of local variable outside block??

by ww (Archbishop)
on May 13, 2015 at 16:55 UTC ( #1126573=note: print w/replies, xml ) Need Help??


in reply to How to extent the scope of local variable outside block??

It's time to stop being a leech!

We're here to help you learn, but not to do your job, nor even to do your job of educating yourself. This question clearly means you haven't read the most basic information about scoping nor about the implication of declarring variables my $var... nor -- well, you've provided too many examples of failing to help yourself to bother listing them all. A quick review of your posts says that's a consistent behavior.


Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-09-19 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (114 votes). Check out past polls.

    Notices?