Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Removing files from remote server

by pvaldes (Chaplain)
on Apr 22, 2013 at 14:03 UTC ( #1029880=note: print w/ replies, xml ) Need Help??


in reply to Removing files from remote server

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


Comment on Re: Removing files from remote server
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-12-25 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (161 votes), past polls