added namespace support to the path function, breaking some back-compat
brought codebase quality up to date with my current Perl skills
tests run on perl 5.8.1
minor fix (removed a warning)
BREAKING CHANGES:
The quotes in $obj->path('person[name="Alex"]') are interpreted as quote characters. If you type the above, it will only match if there is a person element with attribute name=""Alex"" .
To include a "]" character in the attribute value of path, now you just escape it with a backslash character in the path string. For example, to search for elements with a name attribute of Al]ex, write this: $obj->path('person[name=Al\]ex]') "[" characters in attribute values in the path string don't need to be escaped.
As a valued partner and proud supporter of MetaCPAN, StickerYou
is happy to offer a 10% discount on all Custom Stickers,
Business Labels, Roll Labels, Vinyl Lettering or Custom Decals.
StickerYou.com is your one-stop shop to make
your business stick. Use code METACPAN10 at
checkout to apply your discount.
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
go to github issues (only if github is preferred repository)