in reply to Who wants to help me adjust LinkExtor::Simple?

The tag is <SCRIPT> and the attribute is SRC and I swear, I've tried, I just can't figure out where to start...
You start by reading the source, and showing us what you tried :)

I would just use HTML::LinkExtractor. The interface is a tad different, but it has a better support for "links."

On the other hand, looking at the HTML::SimpleLinkExtor source I can see that it's using HTML::LinkExtor which decides what constitutes a link via %HTML::Tagset::linkElements.

update: Hmm, it looks like %HTML::Tagset::linkElements already has script/src in there, so I'd suggest you show the html and the perl that's not working out for you.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: Who wants to help me adjust LinkExtor::Simple?