![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Finding the max()/min()by Zaxo (Archbishop) |
on Nov 11, 2004 at 02:38 UTC ( #406885=note: print w/replies, xml ) | Need Help?? |
Here's a pair I like, similar to your delightfully symmeteric third example, Those are slightly forthish, in lifting a logical value to arithmetic use. Update: As subroutines, I used prototypes there because the usual perl min and max extracts the extreme of a list, instead of from just two values. After Compline,
In Section
Meditations
|
|