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

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

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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-06-25 20:54 GMT
Find Nodes?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...

    Results (327 votes). Check out past polls.