Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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 studying the Monastery: (9)
As of 2016-08-29 21:11 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (409 votes). Check out past polls.