Hi,

I am swimming in the pool, file uploading.

I used the Jifty::Web::Form::Field::Upload for a client to upload a file,
and I got a file handle in my model as below:

sub create{
 my $self = shift;
 my %args = (@_);
 $fh = $args{'upload_file'};
 ...
}

the uploading was good(the file handle worked as I expected). Then how do I
get file name and extension of an uploaded file?

I saw the docs of Jifty::Web::Form::Element and Jifty::Web::Form::Field, but
not yet...

^^;
_______________________________________________
jifty-devel mailing list
[email protected]
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

Reply via email to