> From: Sudarsan Raghavan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 1:48 PM
> To: Sophia Corwell
> Cc: [EMAIL PROTECTED]
> Subject: Re: Deleting leading/trailing whitespace
>
>
> ($temp) = $temp =~ m/^\s+(\S*)\s+$/;

No, because this won't match the following string:

        $temp="   blah blah blah   ";

Because the blahs are separated by whitespace.

> regards,
> Sudarsan

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

Reply via email to