in reply to Re: Prototype like sort()?
in thread Prototype like sort()?
That doesn't allow mysort() to accept coderef without the "sub" like sort() does:
mysort {$b<=>$a} 4,2,1,3; # syntax error
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Prototype like sort()?
by Marshall (Canon) on Jan 25, 2018 at 10:57 UTC | |
by RonW (Parson) on Jan 27, 2018 at 00:33 UTC | |
by Laurent_R (Canon) on Jan 28, 2018 at 00:09 UTC |