Keep It Simple, Stupid | |
PerlMonks |
Re: Oh where has my memory gone?by toolic (Bishop) |
on Jun 09, 2008 at 20:23 UTC ( [id://691089]=note: print w/replies, xml ) | Need Help?? |
This is completely unrelated to your issue, but these suggestions may be useful in the future:
Use the strictures: Amongst other things, this will warn you that
chomp can chomp all elements of a list at once, so there is no need to explicitly chomp each one:
It is a good practice to check the return value of open, opendir and system. Avoid using $a and $b since they have special meaning for sort.
In Section
Seekers of Perl Wisdom
|
|