Mojo::DOM makes parsing fun and simple.
Agreed, and ojo makes it even more fun ;-)
$ perl -Mojo -e 'say g("https://perlmonks.org")->dom->at("title")->all +_text=~s/^\s+|\s+$//gr' PerlMonks - The Monastery Gates
In reply to Re^4: How to extract a pattern in Perl regex?
by haukex
in thread How to extract a pattern in Perl regex?
by SergioQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |