my @animals = ("frog", "toad", "snake", "grasshopper", "bird"); print join (' ', sort @animals), "\n"; # or print qq{@{[ sort @animals ]}}, "\n"; # etc...
In reply to Re: array sorting
by Roger
in thread array sorting
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |