test_xpath($mech, 'substring(//p,1,4)', all => 1); # expected String: Hell
That is not valid xpath syntax, what documentation are you reading?
In reply to Re: Some issues with WWW::Mechanize::Firefox->xpath() method (xpath 1.0)
by Anonymous Monk
in thread Some issues with WWW::Mechanize::Firefox->xpath() method
by dfaure
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |