in reply to Thoughts on some new operators for perl (6 or 7)
You may want to fix the typo:
Your line should read:
$lowest = $_ if $_ < $highest
You also need a semicolon on the previous line.$lowest = $_ if $_ < $lowest;
Other than that - yes - this seems somewhat useful, but I'd probably not remember the syntax when I needed to use it, so I'm ambivalent about promoting it. Thanks for sharing the idea, though.
|
---|
In Section
Meditations