more useful options | |
PerlMonks |
Re: perl errorby dreadpiratepeter (Priest) |
on Jul 28, 2011 at 22:57 UTC ( [id://917360]=note: print w/replies, xml ) | Need Help?? |
In the line in question, you are dealing with one element of the array, which is a scalar, so you use $ not @. To demonstrate with a simpler example, @a is an array. $a[0] is the first element in the array.
-pete "Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
In Section
Seekers of Perl Wisdom
|
|