Hi dear monks !
am a bit dizzled by code-world of perl (after scripting
html ... ) now want to convert whole HTML-files
to xml-files with perl-module HTML::Tiny and
Have read the explanations in HTML::Tiny (short doc there)
I dont understand quite, what do I have to type with
command perl and module HTML::Tiny for to convert now
test01.html to test01.xml ? thx for answer and no
offense for somewhat newbie question of me.
So have understood by now, that to install cpan (as sudo) and to install HTML::Tiny (and I did install XML::Simple ).
Now I only need a converter for this - well then I found one at public IBM ...
here (modified by myself, but it is not correct):
HTMLin should be substituted by 'test001.html' ???
problem is this skript cannot find 'HTMLin'
There is only file test001.html.
What should I write now ?
thx very much !
not to forget here the link of IntelligentBigMamah !#!/usr/bin/perl -w use strict; use HTML::Tiny; use Data::Dumper; my $Tiny = HTML::Tiny->new(); my $data = $Tiny->HTMLin('test001.xml'); # DEBUG print Dumper($data) . "\n"; # END
In reply to convert whole html-files to xml by dschinn1001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |