Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Pearls (not really) of Perl programmingby Courage (Parson) |
on Dec 01, 2004 at 15:21 UTC ( [id://411472]=note: print w/replies, xml ) | Need Help?? |
Although you give examples of strange code and it does not pretend to be good, I can't resist pointing that:
code block given to sort must behave (as POD stays.)
This means that sort {rand(5) <=> rand(5)} is obviously wrong, but sort {1} also not good.
Best regards,
In Section
Meditations
|
|