in reply to The Backslash Challenge
DB<267> x qq\@{[ (sort grep { $_ gt '[' } %::)[0] ]}\; 0 '\\' DB<268> x qq\@{[ grep { '[' lt $_ lt ']' } %:: ]}\; 0 '\\' DB<269>
The second one requires a recent Perl but can be easily rewritten to work with older versions. :)
also tried this but see comment
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
added trailing ; to debugger examples
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The Backslash Challenge
by choroba (Cardinal) on Mar 25, 2021 at 07:45 UTC | |
by LanX (Saint) on Mar 25, 2021 at 11:05 UTC | |
by choroba (Cardinal) on Mar 25, 2021 at 11:27 UTC |