Do you know where your variables are? | |
PerlMonks |
Re: how do I shorten codeby Anonymous Monk |
on Apr 04, 2003 at 12:43 UTC ( [id://248043]=note: print w/replies, xml ) | Need Help?? |
Why is it important to shorten the code? The path to mastery says a lot about this, most of it true? More important than shortening the code above is learning the important of including full information in error messages as described in perlstyle. Also include them on every system command - including every open. It is also good to get in the habit of strict.pm and declaring your variables. None of these will shorten your code. All will improve it. And that is more important.
In Section
Seekers of Perl Wisdom
|
|