|
Hi,
I am trying to retrieve all the links on a web page.
the code i am using is:
my @links=$ie->getAllLinks()->linkText();
I get the below error:
Can't call method "linkText" without a package or object reference.
Please help me with this as I am unable to get the links.
However in scalar context I get the exact number of links on the page.
Thanks in advance |