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

Re: perl and mysql parse a text file

by VSarkiss (Monsignor)
on Feb 03, 2006 at 15:55 UTC ( #527695=note: print w/replies, xml ) Need Help??

in reply to perl and mysql parse a text file

Fletch's answer above is a good way to go. If you need the rows in an array for some other reason, you can always join them before you insert, something like this:

@array = <IN>; # Other stuff with @array ... $sth = $dbh->prepare('insert into data_profile (file) values (?)'); $sth->execute(join '' => @array);

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://527695]
[Discipulus]: both: everyting must be identical in the new v-machine
[Lady_Aleena]: So putting a nice DE or WM up on a Linux machine is not an option?
[Discipulus]: i need some converter to have directly an OVF format directly: at the moment i'm trying with vmware converter standalone
[Lady_Aleena]: I don't know what to tell you. I can barely get my Linux machine to do things I want.
[Discipulus]: if DE or WM means desktop env and win manager.. no, not an option
[Lady_Aleena]: That's what they mean, at least to me. 8)
[Discipulus]: in the first attempt i failed, with an not usable v-machine.. ;=)
[Discipulus]: but then discovered a registry trick to do before the physical2virtual migration
[Lady_Aleena]: Sounds like a headache.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-05-22 18:42 GMT
Find Nodes?
    Voting Booth?