I just encountered this
issue yesterday. The html which contains the form and the upload option must be defined like:
<form enctype="multipart/form-data" method="post">You can include an input field within the form that has a type="file" which will allow the file to be uploaded to the CGI script. I struggled with the handling of it but the link above details how I finally werked it out. As
chromatic noted, I don't use the object notation. I use :standard which causes my namespace to inherit everything from CGI.pm ... I like it that way but it's probably because I'm a rookie with objects. If you need any further direction, I'll be glad to post more of my code if you'd like. TTFN & Shalom.
-
PipTiggerp.s. Byslexia is a Ditch!