good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: htmltreexpather.pl - xpath helper, creates xpath search strings from htmlby Your Mother (Archbishop) |
on Oct 17, 2010 at 17:44 UTC ( [id://865817]=note: print w/replies, xml ) | Need Help?? |
For general use (depending on what you're trying to do) this is probably the best way to do xpaths for HTML/CSS: HTML::Selector::XPath, though it's not the same as the OP's code, it takes CSS selectors and turns them into xpath expressions.
In Section
Cool Uses for Perl
|
|