|
Posted by Rishi Dhupar on April 8, 2005, 2:18 pm
Please log in for more thread options
Hi,
Just starting to learn Twig and Perl. Keep getting an error on this
line:
my $twig = XML::Twig->new(twig_roots => {
'FormattedReportObjects/FormattedReportObject[@FieldName=""]'
=> &do_file
});
It works with out the parameter test, but not with the @FieldName..
Isn't that how twig can do a test on FieldName first and if it is
it will then only run the function?
Thanks for the help,
RishiD
|