in reply to Re: Removing whitespaces,tab,line breaks, etc?
in thread Removing whitespaces,tab,line breaks, etc?

The s modifier is superfluous here.

Replies are listed 'Best First'.
Re: Re: Re: Removing whitespaces,tab,line breaks, etc?
by davorg (Chancellor) on Jan 09, 2003 at 15:40 UTC

    You're absolutely right of course. The clue was that /s only ever modifies the behaviour of '.' and my regex didn't include a '.'.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg