in reply to Problem with NET::FTP->GET functionality from the web
It's always worth adding "use strict" and "use warnings" to a program that you are have problems with. They will point out many things to fix in your code.
You use the CGI module and create a CGI object ($q) but then you don't do any more with the object (other than printing the header). Instead you use a very nasty (and potentially buggy) CGI parameter parser.
Fixing these issues will make it easier to track down the real problems with your code.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|