Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: $array[ 'Infinity' ]

by ikegami (Patriarch)
on Dec 16, 2007 at 23:19 UTC ( [id://657340]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -e "use Devel::Peek; $x="-bareword"; Dump($x); $x=-bareword; Dum
    +p($x)"
    SV = PV(0x226150) at 0x226000
    ...
      PV = 0x1835404 "-bareword"\0
      CUR = 9
      LEN = 12
    
  2. or download this
    >perl -e "use Devel::Peek; $x="-Infinity"; Dump($x); $x=-Infinity; Dum
    +p($x)"
    SV = PV(0x226150) at 0x226000
    ...
      PV = 0x1835404 "-Infinity"\0
      CUR = 9
      LEN = 12
    
  3. or download this
    >perl -e"@a = (5 .. 10); print qq{$a['Infinity']\n$a[-Infinity]\n};"
    5
    5
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (None)
    As of 2024-04-25 00:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found