Think about Loose Coupling | |
PerlMonks |
Re: Re: sorting mm/dd/yyby merlyn (Sage) |
on Dec 15, 2000 at 21:43 UTC ( [id://46869]=note: print w/replies, xml ) | Need Help?? |
Uh, no. Don't do this. You have duplicated the code for parsing $a and $b. Once you've done that, you run into maintenance headaches or worse, you could
be treating them asymetrically, and on older versions of Perl this could actually
dump core.
PLEASE DON'T copy this style at all. There have been other much better postings in this thread. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|