Hello Monks
I'm trying to download an excel file from a website using WWW::Mechanize module, but downloaded file is of binary format. How can I get the actual content of Excel file and save it to the disk.
use strict; use WWW::Mechanize; my $browser = WWW::Mechanize->new(); my $xlurl = "http://some.site.com/InfoCenter/Documents/COPY%20OF%20KIN +%2014DAYS%20%20%2001%20%20JUNE%20%20%202010.xls"; my $xls = $browser->get($xlurl); my $xlcontent=$xls->as_string();
In reply to Download excel from website and save it to disk by kalyanrajsista
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |