If you pass Perl 6's sort a block that takes a single argument, it will use it as a key for sorting the data, as a ST would.my @results = sort { complex_operation($^a) } @list;
In reply to Re: To use a module...or not.
by elusion
in thread To use a module...or not.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |