The question here, though, is why CGI's param method is returning a typeglob. Possibly the method performs differently in a string context?That is it -- See (directed at OP) the 'CREATING A FILE UPLOAD FIELD' section in the CGI docs .. When the form is processed, you can retrieve the entered filename by calling param():
...
CGI is probably giving you a filehandle...
The filename returned is also a file handle.$filename = param('uploaded_file');
In reply to Re^2: CGI and Storable : explain me this, please.
by davidrw
in thread CGI and Storable : explain me this, please.
by lepetitalbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |