[jifty-devel] file name and extension of an uploaded file
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...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jifty-devel