using the system function

2002-01-18 Thread lospalomares
I am trying to scp a file to various systems, but the script hangs if the scp command to one of the systems fails. Is there a way in perl to specify that if the scp command doesn't work to skip it and continue with the next system? I have the following: : : use Net::Ping; @systems =

Re: using the system function

2002-01-18 Thread Jon Molin
if you aren't interesed in weather it works or not, why not try system(/usr/local/bin/scp file $system:/home ); /jon lospalomares wrote: I am trying to scp a file to various systems, but the script hangs if the scp command to one of the systems fails. Is there a way in perl to specify