in reply to Re^2: Loop will not save into the array
in thread Loop will not save into the array
Use $website_links[0][0] instead of $website_links[0]. Why? Because $website_links[0] is an array reference.
Hang on, better still, you just need to change one line of code to make it work...
From
Cheers
Hang on, better still, you just need to change one line of code to make it work...
From
tomy @website_links = $webcrawler->links;
my @website_links = map { $_->[0] } $webcrawler->links;
Cheers
In Section
Seekers of Perl Wisdom