in reply to How to obtain text in Mojo::DOM ?
->at('a.a b') can't work, since a and b are different classes.
Probably ->at('a.a')->at('a.b') does, but that's only a guess without reading the documentation of Mojo::DOM .
After reading the docs, give this a try
->at('a[class~="a"][class~="b"]');
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|