[ic] XML::Simpler
Kevin Walsh
kevin at cursor.biz
Fri Sep 19 17:50:27 EDT 2003
>
> ###
> Usertag xml_simpler Order filename
> Usertag xml_simpler Routine <<EOR
> use XML::Simpler;
> sub {
> my ($filename) = @_;
> my $ref = XMLin($filename);
> return $ref;
> }
> EOR
> ###
>
> Here's the error:
>
> ###
> Calling UI...UserTag 'xml_simpler' code is not a subroutine reference
> In line 9 of the configuration file
> '/trippystore/ic493/code/UserTag/xml_simpler.tag':
> ###
>
> But if the "use XML::Simpler" line is removed, IC restarts without an error.
> How can that be? The syntax in the tag is exactly the same as that shown in
> the docs here:
>
I suspect that you haven't installed the XML::Simpler module.
Type this to check:
perl -MXML::Simpler -e 'print "$XML::Simpler::VERSION\n"'
I use XML::Simple instead. You can find XML::Simple on CPAN and
the module is documented here:
http://search.cpan.org/dist/XML-Simple/lib/XML/Simple.pm
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list