in reply to Net::SCP with cgi script doubt

Some general advice:

Add use warnings; to every script you write

Maybe not immediately but eventually you also should use use strict; and declare variables with my in every script you write

I don't see any error handling code in your script. You can define an error_handler routine with Net::SCP::Expect. As it is now, your script just croaks which should probably leave an error message in some log file. Did you check the apache log files?

Replies are listed 'Best First'.
Re^2: Net::SCP with cgi script doubt
by sanku (Beadle) on Aug 11, 2008 at 04:24 UTC
    ya i didn't check the apache log file so far.