There's more than one way to do things | |
PerlMonks |
Re^3: Pulling white space off before/after string?by GrandFather (Saint) |
on Apr 17, 2007 at 05:06 UTC ( [id://610460]=note: print w/replies, xml ) | Need Help?? |
You are matching only space characters. bobf's version matches any white space characters (which includes spaces, tabs and various other characters including UNICODE white space characters). DWIM is Perl's answer to Gödel
In Section
Seekers of Perl Wisdom
|
|