Do you know where your variables are? | |
PerlMonks |
Re: Adding a JPEG file to databaseby chrestomanci (Priest) |
on Feb 21, 2011 at 20:26 UTC ( [id://889488]=note: print w/replies, xml ) | Need Help?? |
Eliya ++ Good point about binding parameters, and specifying their types. The other thing that occurs to me is that one call to read is not guaranteed to read the whole file. My understanding is that do to that you have to call read (or sysread) repeatedly until it returns zero. eg:
See read on perldoc
In Section
Seekers of Perl Wisdom
|
|