Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^4: Avoiding Global Vars

by Melly (Hermit)
on Sep 23, 2009 at 15:29 UTC ( #797000=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Avoiding Global Vars
in thread Avoiding Global Vars

Ah, but I might (stupidly) do something like:

my $urx = 0; # no warning on mistyped $vrx
print $vrx; # get's old $vrx

As for more meaningful/distinctive, vrx, for reasons relating to the specific tech I'm working with, is very meaningful...

Thanks again.

map{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e**2 -$d**2+$b);$c=$d**2+$e**2>4?$d=8:_}1..50;print$c}0..59;print$/}0..20
Tom Melly, pm (at) cursingmaggot (stop) co (stop) uk

Comment on Re^4: Avoiding Global Vars
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-03-28 10:23 GMT
Find Nodes?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:

    Results (625 votes), past polls