in reply to Win32::IEAutomation - Getting all links in a page

The docs say linkUrl is a method for link objects, so I presume that should be
my $url = $links[0]->linkUrl();

Replies are listed 'Best First'.
Re^2: Win32::IEAutomation - Getting all links in a page
by Anonymous Monk on Oct 18, 2008 at 17:47 UTC
    You presume correctly!! Thanks for the reply.

      By the way, if you want the urls and don't have any other use for the link objects, you can use

      my @urls = map { $_->linkUrl() } $ie->getAllLinks();