[jifty-devel] file name and extension of an uploaded file

C.G. LEE yuand2 at gmail.com
Mon Dec 18 18:24:42 EST 2006

> # this gets the name (scalar context forced for readability here)
> my $filename = scalar($fh);

I didn't know that. Thanks a lot.

However, there is no guarantee about how you will get the filename.
> Some platforms (eg. Windows with Explorer) will give you the full
> path with "\" as a path separator and a drive letter, other platforms
> may only tell you the filename without any directory names...

It's OK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20061218/a2346271/attachment.htm

More information about the jifty-devel mailing list