use 5.010; use Web::Magic -quotelike => w; w(http://www.guardian.co.uk/) -> querySelectorAll('h1 a') -> foreach(sub { say $_->textContent })
In reply to Re^2: Inspecting each element in a tree, specifically HTML::Tree
by tobyink
in thread Inspecting each element in a tree, specifically HTML::Tree
by hulot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |