in reply to Re^2: split string using optimized code or perl one liner
in thread split string using optimized code or perl one liner
On that basis the following should work but it doesn't ...
$ echo www.perlmonks.org.split.reduce.code.check | perl -lF'(\.)' -E's +ay sub{map pop,@_}->(@F)' $
... and I can't think why at the moment. Perhaps I'm misunderstanding what you have done :-/
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: split string using optimized code or perl one liner
by davido (Cardinal) on Feb 24, 2017 at 06:40 UTC | |
by johngg (Canon) on Feb 24, 2017 at 11:51 UTC | |
|
Re^4: split string using optimized code or perl one liner
by haukex (Archbishop) on Feb 24, 2017 at 05:59 UTC | |
by choroba (Cardinal) on Feb 24, 2017 at 06:26 UTC | |
by haukex (Archbishop) on Feb 24, 2017 at 06:30 UTC |