Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Replies are listed 'Best First'.
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 scrutinizing the Monastery: (6)
As of 2015-08-01 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls