Just a quick comment: if you don't want to have to backslash quotes in the XPath expression, you can use custom delimiters, one of those features that make me love Perl:
get_xpath( qq{//DailyWeatherRecord/date[string()="$date"]})In reply to Re^2: Help with XML::XPath
by mirod
in thread Help with XML::XPath
by perl_seeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |