in reply to Re: cgi-lib error when using lwp multipart form to upload a file - what am I doing wrong?
in thread cgi-lib error when using lwp multipart form to upload a file - what am I doing wrong?

I have modified the cgi-lib quite a bit to meet other needs so I would rather not go away from it. If I post a multi-part form manually to my upload.pl script, it works beautifully so I do not think that is the problem. Isn't there something wrong with the way I am using LWP? Please help.
  • Comment on Re: Re: cgi-lib error when using lwp multipart form to upload a file - what am I doing wrong?

Replies are listed 'Best First'.
Re: Re: Re: cgi-lib error when using lwp multipart form to upload a file - what am I doing wrong?
by erikharrison (Deacon) on Apr 23, 2002 at 13:36 UTC

    What have you done with cgi-lib? If what you have done is specific to you, then why not use both? CGI.pm is better at handling this sort of situation, and the object oriented interface won't interfere with imported cgi-lib functions. At the *very least* use CGI to test and make sure it isn't a cgi-lib problem, or even a bug in you adaptations (both of which are likely).

    If your cgi-lib mods are useful to others, consider subclassing CGI.pm for these modifications. This is the only way to get your improvements passed on to anyone else, as cgi-lib maintainence has ceased.

    Cheers,
    Erik