Michel Lambert wrote:
> 1) What's the fastest way to strip trailing whitespace ( as
> defined by /\s/ ) from a decent-sized string? Decent-sized
> means this email, or 100 of these emails concatenated together.

I would imagine

    $string =~ /\s+\z/;

?

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.

Reply via email to