Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: fetching and storing data from web.

by tospo (Hermit)
on Feb 02, 2012 at 09:14 UTC ( #951388=note: print w/ replies, xml ) Need Help??


in reply to Re^2: fetching and storing data from web.
in thread fetching and storing data from web.

what exactly are you trying to achieve with

perl -ne 'print;' *.txt > all.csv
or
for file in *.txt; do cat "$file"; echo; done > newfile.csv
??? Those are a bit pointless, just concatenating files into another file, same as just doing
cat *.txt > newfile.txt
And these are not magically creating csv format for you - it's just the same text as in the input files. No idea what you mean with "how to import it to db perl -MCPAN -e shell"???


Comment on Re^3: fetching and storing data from web.
Select or Download Code
Re^4: fetching and storing data from web.
by nicolethomson (Initiate) on Feb 08, 2012 at 11:50 UTC
    <code> true tospo >/code> taking time to learn things, might be a kid's level code i did.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2015-07-02 01:35 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 (25 votes), past polls