in reply to Max of 23 and 27 is 23?

Does it work outside the debugger? List::Util max?
use warnings; use strict; use List::Util qw(max); print max(27,23), "\n"; __END__ 27

See also: the Basic debugging checklist

Replies are listed 'Best First'.
Re^2: Max of 23 and 27 is 23?
by luxgladius (Initiate) on Jul 02, 2015 at 18:02 UTC
    Yes, it's List::Util max, and no, it was causing a bug where my list was being shortened in a map when I continued it to keep growing.

      So ... how (code please) was the "list being shortened in a map when [you] continued it to keep growing"?