in reply to Getting content using Web::Query

I tried .subject.div.h3 but still undef
You need to write the selector just as you would if writing CSS, so:
my $subject = $parts->find( '.subject div h3' )->text; but this also works: my $subject = $parts->find( 'div.subject' )->text;

Replies are listed 'Best First'.
Re^2: Getting content using Web::Query
by neilwatson (Priest) on Jun 18, 2015 at 13:52 UTC