http://www.perlmonks.org?node_id=863253


in reply to Re: Command-line arguments to command-line Perl
in thread Command-line arguments to command-line Perl

eyepopslikeamosquito, I agree with you on this point. I usually script entirely in Perl and shy away from shell scripts on principle.

In this instance, however, it was necessary to write a one-liner for inclusion in a previously existing shell script that couldn't have dependencies on external Perl scripts. An installation of Perl, however, is guaranteed on all target systems.

~RecursionBane
  • Comment on Re^2: Command-line arguments to command-line Perl