Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Getting Specific List Elements Out of an Array Referenceby pg (Canon) |
on Oct 31, 2005 at 05:54 UTC ( [id://504160]=note: print w/replies, xml ) | Need Help?? |
With what you did, you simply assigned $IpInfo->[0], an array ref to $id. You can prove this by:
Which prints:
And that's what you got earlier when you tried to dump $IpInfo->[0].
In Section
Seekers of Perl Wisdom
|
|