Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: Numification of strings

by LanX (Chancellor)
on Aug 02, 2010 at 12:38 UTC ( #852465=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
      DB<33> my $y;$y++
      DB<34> my $y;$y+1
    Use of uninitialized value $y in addition (+) at (eval 38)[/usr/share/
    +perl/5.10/] line 2.
  2. or download this
            The auto-increment operator has a little extra builtin magic t
    +o it.
           "undef" is always treated as numeric, and in particular is chan
    +ged to 0
           before incrementing (so that a post-increment of an undef value
    + will
           return 0 rather than "undef").

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://852465]
and the daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2017-06-27 05:41 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (598 votes). Check out past polls.