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 contemplating the Monastery: (5)
As of 2016-06-27 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (335 votes). Check out past polls.