Any other suggestions?
Study my code closer and employ Basic debugging checklist item 4 ( Dumper )
That part of your original code was right (just like mine). I add no warnings ... in mine, because the CSS links I'm selecting don't have text/name attributes (returns undef), which warnings will issue a warning for. If the links you're selecting also don't have some attributes, they'll be undef, and you'll get warnings when you try to print them. If you don't it, either disable the warnings (in smallest possible scope) or code-around it
my $value = $link->$member; defined $value and print "$value\n";
If it is something else, you'll have to Dumper-up a minimal demonstration , maybe return value of find_all_links or $mech itself ( How do I post a question effectively? )
In reply to Re^7: Help Getting WWW::Mechanize Link reference array to output to STD_OUT.
by Anonymous Monk
in thread Help Getting WWW::Mechanize Link reference array to output to STD_OUT.
by tfredett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |