Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Maintainable code is the best code

by theorbtwo (Prior)
on Oct 03, 2001 at 03:21 UTC ( #116301=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my %hash1; #Hash for stuff
    my %hash2468; #hash for even nos
    my@blahblah;     # Is this even necessary?
    my %someOtherKindOfHash;   # Maybe stuff here
    my %h3; #you might want this hash, too.
  2. or download this
    # Predeclared hashes. Used throughout the script.
    my %hashForStuff;
    # Is this even necessary?
    # my @blahblah;
  3. or download this
    # Globals
    my(%stuff, %morestuff);
    my %evens; #For even numbers
    # Some other stuff that I don't feel like manualy coppying 
    # and then making a comment because mozilla's copying seems 
    # to be broken (or perhaps I am)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2021-03-04 01:06 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (97 votes). Check out past polls.