Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Using user input to return variable typed.

by thmsdrew (Scribe)
on Nov 13, 2012 at 16:01 UTC ( #1003645=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %hash = (
        A => roll("1d20"),
        B => roll("1d20"),
        C => roll("1d20"),
    ); # As soon as you get to this point in the code, the value is stored
    + (for good).
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003645]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-11-18 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?