$string =~ s/^\s+//;                   Removes leading whitespaces

$string =~ s/^\s+//g;                 /g (GLOBALLY) is redundant in the
case of "leading whitespages"


See PERL Cookbook page 30 for the answer to your question.

__________________

William Ampeh (x3939)
Federal Reserve Board


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

Reply via email to