Whilst patching XML::Simple, please could you include the trick to obey
the IncludePath directive, namely:

> NEW 'new'
> sub new {
>      my $class   = shift;
>      my $context = shift;
>      my $input   = shift;
>      my $args    = ref $_[-1] eq 'HASH' ? pop(@_) : { };
>
>      if (defined($input)) {  # Don't want to break anything...
+          $input = $context->insert($input) unless ( $input =~ /</ );
>          return XMLin($input, %$args);
>      } else {
>          return new XML::Simple;
>      }
> }

Many thanks,

Simon.

-- 
"They hung in the air exactly the same way bricks don't."


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to