Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680567]
[karlgoethebier]: LanX: no cuke?
[karlgoethebier]: btw, Churchill preferred 12 of these drinks instead of diet coke...
[LanX]: KGB that's amatter of perspective
[erix]: when you name is KirchenHuegel you want some compensation

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-12-12 16:17 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (335 votes). Check out past polls.