in reply to Re^2: Filter Data
in thread Filter Data

The site has alot of ad hyperlinks and I do not want those. Sorry dhoss

Replies are listed 'Best First'.
Re^4: Filter Data
by cobra2341 (Initiate) on Aug 27, 2007 at 01:23 UTC
    use WWW::Mechanize; use strict; my $mech = WWW::Mechanize->new(); my $url = "http://www. thebaseballcube. com/teams/team_32. shtml"; $mech->get( $url ); $mech->follow_link( text_regex => 2005 );
    Ok so for $mech->follow_link( text_regex => qr/download this/i ; I could type something like 2005 and it download the 2005 page?
Re^4: Filter Data
by cobra2341 (Initiate) on Aug 27, 2007 at 01:40 UTC
    ok here's what I did
    use WWW::Mechanize; use strict; my $mech = WWW::Mechanize->new(); my $url = "http://www. thebaseballcube. com/teams/team_32. shtml"; $mech->get( $url ); $mech->find_all_links();
    and got this error can't find mech. how do I download it
A reply falls below the community's threshold of quality. You may see it by logging in.