- or download this
my $fh = $c->req->upload('original')->fh;
$self->form->item->original($fh);
$self->form->item->update;
# The DBIx::Class row object comes from FormHandler,
# but thats not important here
- or download this
my $fh = $c->req->upload('original')->fh;
binmode $fh;
...
$self->form->item->thumb_pfad($thumb);
$self->form->item->original($fh);
$self->form->item->update;
- or download this
$img->write(file => 'a.jpg');
$medium->write(file => 'b.jpg');
...
$fhm = new IO::File "> b.jpg";
$fht = new IO::File "> c.jpg";
# Then use these filehandles...