Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Replacing whitespaces with a regex

by choroba (Cardinal)
on Mar 04, 2013 at 09:54 UTC ( [id://1021621] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $words =~ s/\s\s+$/ /;