in reply to Re^3: Finding the max()/min()in thread Finding the max()/min()
@a = (1,0,3,2); [download]
sub max { my $max = shift; return $max if not @_; my $next = shift; unshift @_, $max > $next ? $max : $next; goto &max; } [download]
elusion : http://matt.diephouse.com