I suspect also that unlink $lib is more portable that system("rm -rf $lib");
nah, forget it, Salva and CountOrlok had explained much better the idea
mmh -> my $HOSTS = <MYFILE>; myfile is a filehandle (scalar) if you want an array from a file (my @HOSTS = <MYFILE>;) use tie. You should also to close the filehandle when you finish
In reply to Re: Removing files from remote server
by pvaldes
in thread Removing files from remote server
by Bindo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |