Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-IPC-System-Simple | Distribution: SUSE Linux Enterprise 15 |
Version: 1.25 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 1.24 | Build date: Fri May 25 20:16:30 2018 |
Group: Development/Libraries/Perl | Build host: sheep57 |
Size: 70429 | Source RPM: perl-IPC-System-Simple-1.25-1.24.src.rpm |
Packager: https://www.suse.com/ | |
Url: http://search.cpan.org/dist/IPC-System-Simple/ | |
Summary: Run commands simply, with detailed diagnostics |
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. The 'IPC::System::Simple' module also provides a simple replacement to Perl's backticks operator. Simply write: use IPC::System::Simple qw(capture); and then use the the /capture() manpage command just like you'd use backticks. If there's an error, it will die with a detailed description of what went wrong. Better still, you can even use 'capturex()' to run the equivalent of backticks, but without the shell: use IPC::System::Simple qw(capturex); my $result = capturex($command, @args); If you want more power than the basic interface, including the ability to specify which exit values are acceptable, trap errors, or process diagnostics, then read on!
Artistic-1.0 or GPL-1.0+
* Mon Nov 25 2013 coolo@suse.com - updated to 1.25 * BUILD: No longer ship unrequired file Debian_CPANTS.txt. (GH #7, thanks to real-dam) * BUILD: No longer mark BSD::Resource as required (GH #6). * TEST: Skip core-dump tests on OS X. They're not as straightforward as the test script would like. (GH #5). * BUGFIX: Silence "Statement unlikely to be reached" warning (Karen Etheridge) * BUGFIX: Repository information fix, and typo fixes (@dsteinbrunner) * BUILD: Converted to using dzil. * Same as 1.23 release, but with booched changelog. Oops! :) * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Mon Nov 29 2010 coolo@novell.com - remove /var/adm/perl-modules * Sat Nov 20 2010 pascal.bleser@opensuse.org - initial package (1.21)
/usr/lib/perl5/vendor_perl/5.26.1/IPC /usr/lib/perl5/vendor_perl/5.26.1/IPC/System /usr/lib/perl5/vendor_perl/5.26.1/IPC/System/Simple.pm /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/share/doc/packages/perl-IPC-System-Simple /usr/share/doc/packages/perl-IPC-System-Simple/Changes /usr/share/doc/packages/perl-IPC-System-Simple/LICENSE /usr/share/doc/packages/perl-IPC-System-Simple/README /usr/share/doc/packages/perl-IPC-System-Simple/examples /usr/share/doc/packages/perl-IPC-System-Simple/examples/rsync-backup.pl /usr/share/man/man3/IPC::System::Simple.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 18:05:00 2024