![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: DBI: pipe data to "load data local infile"?by djp (Hermit) |
on Jan 18, 2010 at 11:16 UTC ( #817963=note: print w/replies, xml ) | Need Help?? |
On Linux and certain Unixes, /dev/stdin is a pathname for standard input. You could use two processes connected by a pipe; the first process reads and massages the data and writes it to standard output, and the second process uses "Load data local infile" with /dev/stdin as the filename. 'man stdin' for details. Hope this helps.
In Section
Seekers of Perl Wisdom
|
|