On Dec 13, 2005, at 10:41, Durai raj wrote:

Hi,

Thanks for the reply. Is there any other perl modules or tools available to remove the white space in HTML and JavaScript pages?

Try HTML::Clean maybe. However, note that the docs say

    whitespace    Remove excess whitespace
    ...           ...
    javascript    remove excess spaces and newlines in javascript code.
    ...           ...

That suggests non-redundant newlines are not removed outside javascript (I didn't try). Again, because newlines may not be excess whitespace.

-- fxn


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to