If you don't understand how sort() works, you can read more about it here. If you think sort() is not appropriate to use here, you'd better explain yourself.sub mysort { chomp(my @entries = <STDIN>); return sort @entries; }
In reply to Re: Tedious array sort revisited
by perrin
in thread Tedious array sort revisited
by gatornek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |