If that's all you need to do, it sounds like a shell script would
be more appropriate. Perl has things in common with
shell scripting, but it's a lot more than that. I wouldn't
use it simply to automate a few simple tasks in a way
that doesn't use any of the features of Perl. Writing
shell scripts in Perl can only make the whole process slower
than doing it in shell in the first place.