Re: [PBML] "Alias" for a Variable?
> >$swapx = (($x,$x) = ($x,$x));Because Perl is new to me, and i didn't know better.
> Why are you storing the value?
> And your swap is better written asOf course...thanks.
> @x[1,2] = @x[2,1];
>Because Perl is new to me, and i didn't know better.
> >print ("X: @x \n\n") ;
> Why are you using @x here, instead of $x?
> Your code should haveOk, I put the -w switch on and the warnings did indeed surface.
> warnings on (via the -w switch).
Strange how it works, but It shouldn't have. I heard that Perl makes
a lot of assumptions....sometimes its for the good, but could back-
thanks for your help :)
> Jeff "japhy" Pinyan japhy@p...
> RPI Acacia brother #734 http://www.perlmonks.org/http://www.cpan.org/
> <stu> what does y/// stand for? <tenderpuss> why, yansliterate ofcourse.
> [ I'm looking for programming work. If you like my work, let meknow. ]