in reply to Perl Array Question, combining HTML::HeadParser and regex

In addition to what kcott noted in his reply, your OP would have been a tad better had you included a link to the prior thead Parsing web content with File::Find, HTML::HeadParser and using a regex (in PM markup, [id://1154144]), as it casts some light on your issues.

See also What shortcuts can I use for linking to other information?

Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.