in reply to corruption of jpg written and retrieved from sqlite
https://perldoc.perl.org/functions/binmode.html On some systems (in general, DOS- and Windows-based systems) binmode is necessary when you're not working with a text file.open (my $MYFILE,'<', $my_picture_file) or die "Cannot open file....$ +!"; binmode $MYFILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: corruption of jpg written and retrieved from sqlite
by Anonymous Monk on May 15, 2017 at 15:48 UTC |