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条回答 默认 最新
- dongrong1856 2010-05-29 02:30关注
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.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报