#!/usr/bin/perl
use HTML::LinkExtor;
use URI::URL;
$p = HTML::LinkExtor->new(\&cb, "http://www.x10.com");
sub cb {
my($tag, %links) = @_;
print "$tag @{[%links]}\n";
}
$p->parse_file("rfl.txt");
#@glob = $p;
#for($i=0; $i<@glob; $i++){
# $_ = @glob[$i];
# if(/account.cgi/){
# $counter = 1 - $counter;
# print $_ ;
# }
#}
####
Global symbol "$p" requires explicit package name at link.pl line 9.
Global symbol "$p" requires explicit package name at link.pl line 14.
Execution of link.pl aborted due to compilation errors.
####
a href http://www.x10.com/3D%22http://hop.clickbank.net/?aaso2/intelli%22
a href http://www.x10.com/3D%22http://www.consumerinfo.com/home_pca.asp?sc=3D141
=
a href http://www.x10.com/3D%22http://hop.clickbank.net/?aaso2/webpd%22
a href http://www.x10.com/3D%22http://www.x10.com/xcam2_allspecial33.htm%22
a href http://www.x10.com/3D%22http://www.teamnova.com/encore/combo.cfm?siteid=3
D=
a href http://www.x10.com/3D%22http://hop.clickbank.net/?aaso2/intel=
a href http://www.x10.com/3D%22http://hop.clickbank.net/?aaso2/intel=
img src http://www.x10.com
img src http://www.x10.com
a href http://www.x10.com/jecn@allaboutspe=
img src http://www.x10.com
img src http://www.x10.com
img src http://www.x10.com
a href http://www.x10.com/3D%22http://www.consumerinfo.com/home_pca.asp?sc=3D14=
img src http://www.x10.com/=
img src http://www.x10.com