Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Critique/Test my first module MetaParserby tachyon (Chancellor) |
on Nov 15, 2004 at 01:51 UTC ( [id://407753]=note: print w/replies, xml ) | Need Help?? |
Your parsing is very broken. You are making a whole load of invalid assumptions about the structure of a meta tag. You don't have to look very far for common examples of HTML syntax that breaks your parser. Perlmonks for example has meta tags. Your code does not extract them...... Please learn to use HTML::Parser or learn a lot more about what is and is not valid HTML.
cheers tachyon
In Section
Seekers of Perl Wisdom
|
|