Using HTML Tidy from Perl

View: New views
1 Messages — Rating Filter:   Alert me  

Using HTML Tidy from Perl

by Chris Hardie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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:
 
http://www.w3.org/People/Raggett/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,
 
Chris


Tell the whole story with photos, right from your Messenger window. Learn how!