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

Re^3: $array[ 'Infinity' ]

by ikegami (Pope)
on Dec 16, 2007 at 23:38 UTC ( #657344=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="Infinity"; Dump($x); $x=Infinity; Dump(
    +$x)"
    SV = PV(0x22612c) at 0x226000
    ...
      PV = 0x1835404 "-Infinity"\0
      CUR = 9
      LEN = 12
    
  2. or download this
    >perl -le "print 0+(-Infinity)"
    0
    
    >perl -le "print 0+('Infinity')"
    0
    
  3. or download this
    >perl -v
    
    ...
    Built Mar 20 2006 17:54:25
    
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://657344]
help
Chatterbox?
[Corion]: Maybe add an else branch in which you print what the values of $line and $mydt are?
[Cosmic37]: ah thank you I will try
[Cosmic37]: you are right $mydt did not contain what I expected... :-D I will now think :-D
[Cosmic37]: crunch...grind... whirr...gnashing metal crunching cogs...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-06-29 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (673 votes). Check out past polls.