in reply to Re: Using BLOB fields with Class::DBI and MySQL
in thread Using BLOB fields with Class::DBI and MySQL
Then the code that's supposed to be doing the setting:package MyDatabase::Candidates; use base 'MyDatabase::DBI'; MyDatabase::Candidates->table('CANDIDATES'); MyDatabase::Candidates->columns( All => qw/CANDIDATEID CV/);
my $filehandle = $self->query->upload('cv'); my $cvfile = do { local $/; <$filehandle> }; $candidate->CV($cvfile);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using BLOB fields with Class::DBI and MySQL
by jonadab (Parson) on Jul 25, 2005 at 11:35 UTC |