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
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"???