Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 scrutinizing the Monastery: (14)
As of 2014-07-23 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls