is the answer I was looking for, thanks. I realise it is inefficient, just came across the error and didn't immediately twig the list/array issue.my $max = pop @{[ sort @vals ]};
In reply to Re^2: pop sort strangeness
by Brovnik
in thread pop sort strangeness
by Brovnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |