Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
go ahead... be a heretic
 
PerlMonks  

Re: Printing a Variable outside of the block

by Roy Johnson (Monsignor)
on Apr 15, 2008 at 16:35 UTC ( #680567=note: print w/ replies, xml ) Need Help??


in reply to Printing a Variable outside of the block

You need to declare your variables in the outermost scope you want to use them in. Since you want to use them outside the block, you should declare them outside (before) the block.


Caution: Contents may have been coded under pressure.


Comment on Re: Printing a Variable outside of the block

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2014-04-18 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls