as per the documentation.my $twig = XML::Twig->new( twig_handlers => { stats => sub { $_->set_tag( 'stats_test' ) } } ); $twig->parse_file(...); $twig->flush;
In reply to Re: Not able to replace element value using XML::Twig
by Anonymous Monk
in thread Not able to replace element value using XML::Twig
by newbie_ab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |