in reply to DBI: pipe data to "load data local infile"?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: DBI: pipe data to "load data local infile"?
by richardwfrancis (Beadle) on Jan 19, 2010 at 14:06 UTC | |
Re^2: DBI: pipe data to "load data local infile"?
by Anonymous Monk on Oct 15, 2015 at 03:21 UTC |
In Section
Seekers of Perl Wisdom