tags:

views:

47

answers:

2

I was think of learning Perl cause I hear around town its good for system admin things. Would it be possible to use it to automatically install a php script? I need to install a custom script on a few different server and wanted to know how I could make something in Perl to do it (like move scripts over to directory and stuff)?

+3  A: 

Yes, Perl can easily do that (and a lot more).

You can use File::Copy module to move/copy files around, or if you need to FTP them to different server, Net::FTP module.

DVK
A: 

As far as I am aware of, in terms of sysadmin scripts PHP can do what ever Perl can do.

Itay Moav