Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: CGI::Upload - CGI class for handling browser file uploads

by gellyfish (Monsignor)
on Mar 10, 2002 at 14:33 UTC ( #150715=note: print w/ replies, xml ) Need Help??


in reply to CGI::Upload - CGI class for handling browser file uploads

Looks nice, but there is one small niggle - you have:

use vars qw/ $VERSION @ISA @EXPORT @EXPORT_OK /; @EXPORT_OK = qw/ file_handle file_name file_type mime_magic mime_type/ +;
However you neither require Exporter nor do @ISA = qw/Exporter/ so you will have trouble if someone does:
use CGI::Upload qw(file_name);
Update Glad to be of help, only sad I've run out of votes today :)

/J\


Comment on Re: CGI::Upload - CGI class for handling browser file uploads
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://150715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-07-03 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls