Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: split string using optimized code or perl one liner

by davido (Cardinal)
on Feb 22, 2017 at 16:05 UTC ( [id://1182538] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    echo www.perlmonks.org.split.reduce.code.check |perl -lnE 'say reverse
    + split /(\.)/'
    
  2. or download this
    echo www.perlmonks.org.split.reduce.code.check |perl -lnE'say reverse 
    +split/(\.)/'