There's a bug in that code, try finding the max of this list...
@a = (1,0,3,2);


-- All code is 100% tested and functional unless otherwise noted.

In reply to Re^4: Finding the max()/min() by sleepingsquirrel
in thread Finding the max()/min() by dragonchild

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":