Lightning flashed, thunder crashed and Dave Neill <[EMAIL PROTECTED]> whispered:
| There's also:
| 
| $foo =~ s/^\s*//;

You should always use /^\s+/.  There's no sense in removing nothing if
nothing is there.

-spp
--
Stephen P Potter                                         [EMAIL PROTECTED]
"You can't just magically invoke Larry and expect that to prove your point.
Or prove that you have a point."        -Simon Cozens
UNIX, Perl, PHP, Web Consulting and Training  http://www.unixlabs.net/~spp/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to