Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
PerlMonks  

Re^2: Download excel from website and save it to disk

by kalyanrajsista (Scribe)
on Jun 01, 2010 at 09:21 UTC ( #842550=note: print w/ replies, xml ) Need Help??


in reply to Re: Download excel from website and save it to disk
in thread Download excel from website and save it to disk

my $xlcontent

above variable contain excel data in Binary format which is not actually stored anywhere in my disk, so I can't use any of the Module to read the excel data.

I'm looking for saving the excel file on the disk and process it afterward.


Comment on Re^2: Download excel from website and save it to disk
Download Code
Re^3: Download excel from website and save it to disk
by Corion (Pope) on Jun 01, 2010 at 09:23 UTC

    Yes. For saving, read up about binmode and print. For processing the data, read up about the modules I already linked to. You will need to do some reading and then some programming.

    Also, your assignment to $xlcontent does propably not do what you want. You want maybe

    $browser->save_content
    or
    my $xlcontent = $browser->content;

    Read WWW::Mechanize in addition to the other module documentation.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://842550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2014-04-24 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls