Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (15)
As of 2014-10-23 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls