Does Perl support internet? -
i try write in perl script down loading file website. script must automatically down load @ night. perl support internet? use perl 5 centos , gedit.
use file::fetch; $url = 'http://domain.tld/path'; $ff = file::fetch->new(uri => $url); $file = $ff->fetch() or die $ff->error; print "check $file\n";
put in script , crontab...
Comments
Post a Comment