* Tosh Cooey <tosh at 1200group.com> [2004/08/09 20:47]: > This leads me to believe that the plugin is only a one-way > transmogrification of XML. Am I believing wrong? Is there access to > the XMLout function that I am overlooking?
No, you're right. The entirety of the XML.Simple plugin is:
sub new {
my $class = shift;
my $context = shift;
my $input = shift;
my $args = ref $_[-1] eq 'HASH' ? pop(@_) : { };
XMLin($input, %$args);
}
If you wanted to do something more complex with XML::Simple, you should
look into the Class plugin:
[% USE xml = Class('XML::Simple');
# now xml isa XML::Simple instance %]
Or you could write a more featureful front end to XML::Simple yourself.
(darren)
--
The only real advantage to punk music is that nobody can whistle it.
pgpWVDIRQzdVI.pgp
Description: PGP signature
