W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2009

Using HTML Tidy from Perl

From: Chris Hardie <hardieca@hotmail.com>
Date: Fri, 6 Mar 2009 08:54:20 -0500
Message-ID: <BLU126-W63DE109F1E45BB9101B7BDEA50@phx.gbl>
To: <html-tidy@w3.org>

Good morning,


I would like to use HTML Tidy within a PERL script on a windows box. There is a HTML::Tidy module for PERL, but it doesn't work in a Windows environment.


On this page, there is a PERL snippet showing how to inspect exit codes from Tidy:




Does anyone have a full example of how to call Tidy from within a PERL script, pass it options, and pass it markup before inspecting the exit codes? I'm pretty new to PERL, so a complete example would be extremely helpful.


Many thanks,



Share photos with friends on Windows Live Messenger
Received on Friday, 6 March 2009 15:03:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:57 UTC