[jifty-devel] upload fields again

Alex Vandiver alexmv at bestpractical.com
Tue Mar 14 15:49:14 EST 2006

On Sun, 2006-03-12 at 11:44 +1100, Bart Bunting wrote:
> Is there something I'm missing about how upload fields work?
The value of an upload field should be a filehandle; you should be able
to read from it like any other filehandle; for example:
        sub take_action {
            my $self = shift;

            local $/;
            my $fh = $self->argument_value('upload_field');
            $self->result->message("Got: ".<$fh>);
 - Alex

More information about the jifty-devel mailing list