P is for Practical | |
PerlMonks |
Re^3: $array[ 'Infinity' ]by educated_foo (Vicar) |
on Dec 17, 2007 at 01:36 UTC ( [id://657355]=note: print w/replies, xml ) | Need Help?? |
That is terrifyingly weird. But the 9**9**9 is just an artifact of B::Deparse, as can be seen here. I'm not sure why it does that.
Then again, it makes a kind of twisted sense that $a[inf] means "last element of @a", and (completely by accident) $a[-inf] means "last element counting from the end."
In Section
Seekers of Perl Wisdom
|
|