You need to escape the @ somehow so perl does not try to interpolate it:
ormy $query = '/nvd/entry[@id = ' . $cve_id . ']';
my $query = "/nvd/entry[\@id = $cve_id]";
In reply to Re^4: XPath query issue...
by derby
in thread XPath query issue...
by spstansbury
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |