Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl Newbie

by Utilitarian (Vicar)
on Sep 18, 2014 at 13:46 UTC ( #1101052=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my                               # declare the variables in the local 
    +scope (guarantees you won't overwrite a variable already in use or ca
    +pture a value already assigned)
    ($_configParam,$_paramValue)     # A list of variable names that you a
    +re declaring, note that coma separated variables between parenthesis 
    +are treated similarly to an array for assignment purposes
    ...
    , 2);                            #  Limit the split to 2 values, close
    + the call to split and terminste the line with a semi-colon
    $configParamHash{$_configParam}  # in an indexed list keyed on the par
    +ameter name
    = $_paramValue;                  # assign the value above to a hash en
    +try keyed on the parameter name
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1101052]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2020-08-08 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (51 votes). Check out past polls.

    Notices?