Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^7: parsing CSV

by marto (Cardinal)
on Oct 08, 2016 at 17:57 UTC ( [id://1173550]=note: print w/replies, xml ) Need Help??


in reply to Re^6: parsing CSV
in thread parsing CSV

Can you post an example of each of these pages (with fake customer data, obviously) and what the output you require is? With access to the right data and an example of what you want the output to be it'll be easier for people to help.

Replies are listed 'Best First'.
Re^8: parsing CSV
by younggrasshopper13 (Novice) on Oct 08, 2016 at 21:43 UTC
    webpage 1 is a blank page with two columns:
    storage, cid 546 , c100 6234 , c200 3265 , c300 etc , etc
    web page 2 is also a blank page with data but no columns just data:
    c100, jo shmo c200, jack black c300, patrick stewart c400, may shoe c500, dick tracy c600, morgan freeman c700, michael jordan c800, vladimir putin c900, corey feldman etc, etc etc, etc
    I have to take the cid and name on page 2 and match it to cid and storage on page 1. Some magic happens and it concatenates into a csv or $output variable or anything really that can get put onto the body of an email that displays:
    CID, Name, storage size c100, jo shmo, 546 c200, jack black, 6234 etc, etc, etc
    I have to somehow take those urls and download the info concatenate and match the data together and send said data in body of email
      Any thoughts, Monks of Wisdom?

        If you are using Perl you seldom need to resort to using the command line to get work done. Don't use curl. Don't use mail. Instead read the suggestion Corion gave and the documentation for MIME::Lite. When you figure it out you'll be surprised how easy it is.

        Premature optimization is the root of all job security

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found