"have updated my q"
Your question seems to make the assumption that HTML::Tiny works identically to XML::Simple but processes HTML instead of XML. It does not. The two modules are completely unrelated. Applying knowledge from an XML::Simple article to HTML::Tiny will not do what you want.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
| [reply] |
The main reason, why I was putting this question above is, that I planned to create xml-files out of html-files, then later to create files in c/c++ out of xml-files. thought simply it would becoming then a faster homepage, when it is later compiled in C or C++. - but now ... html is only script-language and C is not script-language - so this idea would not work then ? - but main thing is first to create xml-files or files in html5 are okay too. How look next steps to do ?
here is a sample in html - name of file is test001.html:
(was not possible to post example here - the code is got swallowed somehow - would have to mask the whole code ?)
| [reply] |
thought simply it would becoming then a faster homepage, Um, no, static files (and compressed) are the fastest kind of homepage available
| [reply] |