Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Basic Coding Tips: Parsimonious Parameterization

by dimar (Curate)
on Jan 28, 2005 at 20:54 UTC ( #426104=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ### This is nice and compact, but what happens if you
    ### add new variables? You have to remember to keep count.
    ...
    
    ### A more parsimonious example
    my $a = my $b = my $c = 'TRUE';
    
  2. or download this
    my  $User  = {};
    $User->{never_used_site_before} = '1';
    ...
    $User->{lname}      =   '';
    $User->{password}   =   '';
    $User->{age}        =   '0';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://426104]
Approved by itub
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2015-07-02 01:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls