抓取網頁並取入純量變數
use FEAR::API -base; my $content = fetch("google.com")->document->as_string; fetch("google.com") > my $content;
use FEAR::API -base; my $content = fetch("google.com")->document->as_string; fetch("google.com") > my $content;
Copyright © 2006 Yung-chung Lin |