Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: User variables with two values?

by DamianConway (Beadle)
on Aug 19, 2012 at 21:55 UTC ( #988366=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Scalar::Util 'dualvar';
    
    ...
    printf "Polly wanna %s every %d days \n", $funny, 0+$funny;
    
    __END__
    
  2. or download this
    use Contextual::Return;
    
    ...
    printf "Polly wanna %s every %d days \n", $funny, 0+$funny;
    
    __END__
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-12-26 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls