cobra2341 has asked for the wisdom of the Perl Monks concerning the following question:
use WWW::Mechanize; use strict; my $m = WWW::Mechanize->new(); $m->get("http://www.thebaseballcube.com/teams/team_32.shtml"); for my $link ($m->links) { #next unless if $link->url() =~ /ad\.php/; print $link->url."\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Filter Data
by erroneousBollock (Curate) on Aug 26, 2007 at 23:35 UTC | |
|
Re: Filter Data
by FunkyMonk (Bishop) on Aug 26, 2007 at 23:42 UTC | |
by cobra2341 (Initiate) on Aug 27, 2007 at 00:15 UTC | |
by erroneousBollock (Curate) on Aug 27, 2007 at 00:19 UTC | |
by cobra2341 (Initiate) on Aug 27, 2007 at 00:20 UTC | |
by cobra2341 (Initiate) on Aug 27, 2007 at 01:23 UTC | |
by cobra2341 (Initiate) on Aug 27, 2007 at 01:40 UTC | |
by erroneousBollock (Curate) on Aug 27, 2007 at 02:05 UTC | |
| |
|
Re: Filter Data
by stonecolddevin (Parson) on Aug 26, 2007 at 23:36 UTC | |
|
Re: Filter Data
by stonecolddevin (Parson) on Aug 26, 2007 at 23:37 UTC |