FEAR::API FEAR::API - There's no fear with this elegant site scraper #23

Deal with links in a web page (II)

url("google.com")->()
  >> {
      qr(^http:) => _self,
      qr(google) => \my @l,
      qr(google) => sub {  print ">>>".$_->[0],$/ }
     };
$_->() while $_;
print Dumper \@l;
Copyright © 2006 Yung-chung Lin