in reply to XPath query issue...
I don't believe you:
use strict; ... my $cve_id = 'CVE-2008-3763'; my $query = "/nvd/entry[@id = $cve_id]";
This code gives me:
Possible unintended interpolation of @id in string at tmp.pl line 3. Global symbol "@id" requires explicit package name at tmp.pl line 3. Execution of tmp.pl aborted due to compilation errors.
So you're either not using strict and warnings, or you're not posting the code you're running. Either way, I don't see how you expect us to help you, if you're not forthcoming about what you're actually doing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XPath query issue...
by bluescreen (Friar) on Sep 03, 2009 at 00:27 UTC | |
|
Re^2: XPath query issue...
by spstansbury (Monk) on Sep 02, 2009 at 18:21 UTC | |
by spstansbury (Monk) on Sep 02, 2009 at 18:31 UTC | |
by derby (Abbot) on Sep 02, 2009 at 19:11 UTC | |
by Corion (Patriarch) on Sep 02, 2009 at 19:21 UTC |