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

同步抓取網頁

url("google.com")->() >> _self;
pfetch(sub{
           local $_ = shift;
           print join q/ /, title, current_url, document->size, $/;
       });
Copyright © 2006 Yung-chung Lin