Hi to all, I'm wondering if it's possible to use dynamic paths to element in xml document. Now I'm using XML::Simple and I want to do something like this:
use XML::Simple; my $fh = IO::File->new('/root/regions.xml'); my $data = XML::Simple::XMLin($fh); $data->{root}->{configs}->$VAR->{region_prefix}
Or is there some other way, or workaround that will not require to rewrite whole script for for this?
Thanks in advance.In reply to Perl XML "dynamic paths "? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |