Description
Calling Perl's in-built 'system()' function is easy; determining if it
was successful is _hard_. Let's face it, '$?' isn't the nicest variable
in the world to play with, and even if you _do_ check it, producing a
well-formatted error string takes a lot of work. 'IPC::System::Simple'
takes the hard work out of calling external commands. In fact, if you
want to be really lazy, you can just write:
use IPC::System::Simple qw(system);
and all of your "system" commands will either succeed (run to completion and
return a zero exit value), or die with rich diagnostic messages.
Packages
perl-IPC-System-Simple-1.25-18.el6_10.noarch
[38 KiB] |
Changelog
by Andrew Colin Kissa (2023-03-08):
- Build with Perl 5.24
|