Re: WWW::Mechanize question / array values

2004-05-12 Thread JupiterHost.Net
Next and hopefully last question for now on a more general subject: Why do array members take the form of 'ARRAY(0x90df74)' rather than the actual content fed to an array or variable? Whatever variable looks like that when printed if an array reference. for(@links) { print @{$_}; } see perldoc p

Re: WWW::Mechanize question / array values

2004-05-12 Thread Ben Miller
On 5/12/04 1:26 PM, Paul Johnson wrote: > On Wed, May 12, 2004 at 12:59:44PM -0500, Ben Miller wrote: > >> my @links = $mech->find_all_links(tag = "a", text_regex => qr/\bWORD\b/i ); > > ... tag => "a", ... > > I suspect. Thank you to Paul and to Lee for their quick and efficient answer. That