in reply to Re: Help with XML::XPath
in thread Help with XML::XPath

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"]})