in reply to Re: Problem while FTP
in thread Problem while FTP

Or, to do that from within the perl script (since some shells don't support redirection of just STDERR):
open(STDOUT, ">$my_log_file"); open(STDERR, ">$my_err_file");
and of course you can double the angle brackets to append to the logs, rather than overwriting them on each run.