in reply to Shell script to Perl

I am new to scripting and need a shell script changed to Perl.

Why?

You're running several scripts via sudo and manipulating the output. I would argue that it is fine as is.

Replies are listed 'Best First'.
Re^2: Shell script to Perl
by perlfan (Parson) on Mar 04, 2016 at 16:57 UTC
    I agree. There's a time and place for Perl. This is not it.

    My personal philosophy is, try it first as a shell script. If I find that I have to do anything more than operate over a list of things (or find myself wanting an array), move over to Perl.