Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: html parsingby Anonymous Monk |
on Mar 22, 2017 at 15:25 UTC ( [id://1185468]=note: print w/replies, xml ) | Need Help?? |
"You could get the contents of the <title> tag just using a regular expression"
Solutions that use regular expressions to parse HTML will never be voted higher than those that actually use a parser. Also your assignment is very low value because it explicitly uses $1 when you could have instead captured the value directly (and safer too).
In Section
Seekers of Perl Wisdom
|
|