![]() |
|
Just another Perl shrine | |
PerlMonks |
Re: Cleaning the Logby fglock (Vicar) |
on Sep 02, 2002 at 14:00 UTC ( [id://194579]=note: print w/replies, xml ) | Need Help?? |
Use while() to repeat the search until all is done: perl -e '$a = "abcde{BS}{BS}f"; while($a =~ s/.{BS}//) {}; print $a;'
In Section
Seekers of Perl Wisdom
|
|