Need help in killing a job

2011-10-22 Thread Jag
Can some one help me on this. The routine below works, but kills only the parent job. I want all the jobs spaned by parent job $f to be killed. How to do that ? Thanks in advance. sub run_system_for_some_time { my $f = $_[0]; ## Job to run my $t = $_[1]; ## Max time job can run eval {

FTP and LS or DIR

2010-01-07 Thread Jag Thripp
Hello first question, maybe one of many! Code running on a windows machine connecting to Linux box. I am trying to capture an ls\dir command into a file from an FTP connection, similar to ls -lA > Ls.txt. I am trying to monitor files in a folder on a remote Red Hat server to make sure t