Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
There's more than one way to do things
 
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 avoiding work at the Monastery: (14)
As of 2014-04-16 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls