Perl-Sensitive Sunglasses | |
PerlMonks |
Re: array splice vs hash spliceby chas (Priest) |
on Jun 05, 2005 at 02:37 UTC ( [id://463634]=note: print w/replies, xml ) | Need Help?? |
It's actually a "slice". @ is used because the returned value is a list. (A hash is not really printable in its native form - only the associated list is printable in a way readable by humans. That's probably why hashes don't interpolate in double quoted strings - it doesn't make much sense.) chas
In Section
Seekers of Perl Wisdom
|
|