Hi,

I'm reading/scraping hyperlinks from a specific web page using the following
while incorporating the WWW::Mechanize module:

my @links = $mech->find_all_links(tag = "a", text_regex => qr/\bWORD\b/i );


When I run the program, I get an error: 'Can't modify constant item in
scalar assignment at get.pl line 27, near ""a","'.

I'm not modifying anything or at least not trying to . Is the problem that I
haven't defined 'tag'?

Thanks from a PERL newbie,
Ben


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to