testing testing... perl question
adrianh at quietstars.com
Mon Aug 13 12:11:46 BST 2007
On 13 Aug 2007, at 11:31, Aidan Samuel wrote:
> When using map and grep I tend to leave off the curly braces and just
> use a comma, but if I try this with sort, I get these odd results.
Because sort doesn't let you leave the curly braces off.
sort SUBNAME LIST
sort BLOCK LIST
are the only options. So it's really
sort($a <=> $b, @a);
More information about the london.pm