Hi-
I'm trying to use the XML::Twig module, but get the error "unrecognized expression in the handler: '0' " at line 7 of the following code:
#!/usr/bin/perl $enter = <STDIN>; @fields = split(/ /, $enter, 9999); use XML::Twig; open (FILE, $fields[1]); my $file = <FILE>; my $t= XML::Twig->new( twig_roots => { djn-geo => 1}); $t->parsefile('$file'); open(STDOUT, ">$fields[2]"); $twig->print;
Any idea why this might be happening?
In reply to XML::Twig Help by shravnk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |