Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-10-02 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls