From: Peng Yu on
Suppose I see a webpage on a website that has the following link
encoded by javascript, I want to user perl to parse such webpage and
convert it to the actual url. Could you please let me know what
package I should use? I thought that HTML package may not handle this.
But please let me know if I'm wrong.

<a herf="javascript:some_command_return_a_url();">Link</a>
From: Peng Yu on
On Jul 10, 1:15 pm, "Peter J. Holzer" <hjp-usen...(a)hjp.at> wrote:
> On 2010-07-10 17:29,PengYu<pengyu...(a)gmail.com> wrote:
>
> > Suppose I see a webpage on a website that has the following link
> > encoded byjavascript, I want to user perl to parse such webpage and
> > convert it to the actual url. Could you please let me know what
> > package I should use? I thought that HTML package may not handle this.
> > But please let me know if I'm wrong.
>
> ><a herf="javascript:some_command_return_a_url();">Link</a>
>
> I would start athttp://search.cpan.org/search?query=javascript&mode=all

There are many results returned. Which one is the best one to help me
solve my particular problem?