in reply to Can I do a file upload without using any modules?

I made a script which was able to upload a file, read 'post'-data, and query-string-data, without using a single module.

You don't say why you didn't use a single module. If it's an exercise in "can I do this", then pat yourself on the back and move on. For production code, CGI.pm is a more responsible* thing to use, and it's included in all modern Perl distributions, so your chances of not encountering it are effectively nil.

* There are numerous subtle security problems that crop up if you try to handle CGI requests by hand. CGI.pm handles them, and it's been thoroughly tested.

  • Comment on Re: Can I do a file upload without using any modules?