Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 cooling their heels in the Monastery: (6)
As of 2014-12-25 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls