It works for me (Linux):
$ echo www.perlmonks.org.split.reduce.code.check | \ perl -lF'(\.)' -E'say sub{map pop,@_}->(@F)' check.code.reduce.split.org.perlmonks.www
In reply to Re^4: split string using optimized code or perl one liner
by haukex
in thread split string using optimized code or perl one liner
by madtoperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |