[Israel.pm] dumping HTML::Element as yaml
Moshe Kamensky
moshe.kamensky at googlemail.com
Sun Jul 1 13:19:14 EEST 2007
Hi,
I'm trying to dump a data structure containing objects of type
HTML::Element into a yaml file. The problem is I'm only getting any
empty (blessed) hashref. I would like to modify the dumping so that the
html representation of the object is dumped instead (using as_HTML). The
docs seem to hint this is possible, using some combination of
YAML::Marshall, yaml_dump or so, but I couldn't find any real
documentation. Anyone knows how this can be done?
Thanks,
Moshe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://perl.org.il/pipermail/perl/attachments/20070701/3b25ead5/attachment.pgp
More information about the Perl
mailing list