Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: $array[ 'Infinity' ]

by educated_foo (Vicar)
on Dec 17, 2007 at 01:36 UTC ( #657355=note: print w/ replies, xml ) Need Help??

in reply to Re^2: $array[ 'Infinity' ]
in thread $array[ 'Infinity' ]

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."

Comment on Re^3: $array[ 'Infinity' ]
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://657355]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2015-11-27 15:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls