XP is just a number | |
PerlMonks |
Re: Re: Re: Array in Arrayby CombatSquirrel (Hermit) |
on Oct 06, 2003 at 14:40 UTC ( [id://296958]=note: print w/replies, xml ) | Need Help?? |
Your $rec variable is actually a reference to an array. You should dereference it, for example by writing my @rray = @$rec;, or, TIMTOWTDI:
This uses a RegEx instead of a split, but you can still see how $rec is dereferenced by writing @$rec. Hope this helped. CombatSquirrel. Update: Mixed up referencing and dereferencing. Fixed. Entropy is the tendency of everything going to hell.
In Section
Seekers of Perl Wisdom
|
|