Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Mystery state (possibly about whether an argument is numeric?) being maintained across calls to a sub

by cheesestraws (Novice)
on Jun 15, 2013 at 13:44 UTC ( #1039121=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    no warnings "numeric";
    ...
    xx("ff");
    xx(7);
    xx("ff");
    
  2. or download this
    Reusing one variable:
    ()
    ...
    ()
    (0)
    ()
    
  3. or download this
    Reusing one variable:
    ()
    ...
    ()
    (0)
    (0)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1039121]
Approved by ww
Front-paged by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-01-23 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (238 votes). Check out past polls.

    Notices?