Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^3: Running complex sed from perl

by 2teez (Vicar)
on Dec 02, 2013 at 05:15 UTC ( #1065222=note: print w/replies, xml ) Need Help??

in reply to Re^2: Running complex sed from perl
in thread Running complex sed from perl

Hi sunglant,

If I can figure out how to get double quotes at the begining and end of each line, then when its formated it can be converted into a CSV file and imported into a DB.
I really don't know why you are trying to code in sed and awk using perl.
Since perl can do want you want why not write all your script in perl altogether? Then using a module like Text::CSV or Text::CSV_XS you can get your dataset in csv then getting all of that into your preferred DB still using perl.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1065222]
NodeReaper . o O ( Did I forget to leave the gas on? )

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2018-05-21 00:13 GMT
Find Nodes?
    Voting Booth?