Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-10-23 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls