in reply to Module's .pm errors
in thread Module's .pm errors

@sites="http://www.frozenhosting.com"; for( $i=1; $i<100000; $i++) { $mech->get( $sites[$i] ); .... $mech->content()=$html; $mech->find_all_links(); $link->url_abs()=@sites;

Looking at your code, what are you trying to achieve? Your immediate problem is because:
1) @sites = "http://www.frozenhosting.com"; builds a one element list, with index starting at 0. Yet you are trying to fetch it with index $i starting from 1, which is undefined of course. And because you are trying to get an undefined site, you get the warning and error messages.
2) You got the assignments the other way round.

Your script should look something like below to work properly, and man, you have a lot of readings to do on Perl, and you should start by doing some tutorials at Perl Monks. :-)
use strict; use warnings; use HTML::Parser; use WWW::Mechanize; my $mech = WWW::Mechanize->new(); my $p = HTML::Parser->new(); my @sites = ( 'http://www.frozenhosting.com' ); for my $site (@sites) { $mech->get($site); my $html = $mech->content(); my @links = $mech->find_all_links(); $p->parse($html); ... etc ... }