Beefy Boxes and Bandwidth Generously Provided by pair Networks
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2017-09-22 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (261 votes). Check out past polls.

    Notices?