in reply to Re: Perl DBI to MySQL LOAD_FILE
in thread Perl DBI to MySQL LOAD_FILE
Thank you both for your quick responses. It was indeed an interpolation problem. Need the scalar with file name single quoted:
Maybe god exists afterall...UPDATE artists SET page=LOAD_FILE('$infile') where code='$code';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl DBI to MySQL LOAD_FILE
by 1nickt (Canon) on Jan 05, 2017 at 02:17 UTC | |
by Marshall (Canon) on Jan 05, 2017 at 03:46 UTC |
In Section
Seekers of Perl Wisdom