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

抓取網頁並印到 STDOUT

getprint("google.com");

print fetch("google.com")->document->as_string;

fetch("google.com");
print $$_;

fetch("google.com") | _print;
Copyright © 2006 Yung-chung Lin