Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: $array[ 'Infinity' ]

by quester (Vicar)
on Dec 17, 2007 at 00:25 UTC ( #657350=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    perl -MO=Deparse -e 'print $n[inf]'
  2. or download this
    print $n[9**9**9];
  3. or download this
    perl -MO=Deparse -e 'print $n["inf"]'
  4. or download this
    perl -MO=Deparse -e 'print $n[-inf]'
  5. or download this
    print $n[-'inf'];
  6. or download this
    perl -MO=Deparse -e 'print "", inf==0 ? "a" : "b", 'inf'==0 ? "c" : "d
    +", -inf==0 ? "e" : "f"'
  7. or download this
    print '', 'inf' == 0 ? 'a' : 'b', 'inf' == 0 ? 'c' : 'd', -'inf' == 0 
    +? 'e' : 'f';
  8. or download this
    perl -MO=Deparse -e '$n[inf], $n[1+inf], $n[-inf] = inf'
  9. or download this
    $n[9**9**9], $n[1 + 'inf'], $n[-'inf'] = 'inf';
  10. or download this
    This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-11-26 00:45 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 (695 votes), past polls