Package: perl-IPC-System-Simple (1.30-160000.2.2)
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 capture() 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!
Package information
- Homepage
- [https://metacpan.org/release/IPC-System-Simple]
- License
- Artistic-1.0 OR GPL-1.0-or-later
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-IPC-System-Simple]
- Software project
- [perl-ipc-system-simple]
Versions and downloads for perl-IPC-System-Simple
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.30-160000.2.2leap-16.0 / oss | noarchopenSUSE Leap 16.0 · OSS · multi-architecture | 40 KiB | 72 KiB | list of files | perl-IPC-System-Simple-1.30-160000.2.2.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-IPC-System-Simple
dep: perl(:MODULE_COMPAT_5.42.0)
Package not available
Package file paths (11)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.42.0/IPC
- /usr/lib/perl5/vendor_perl/5.42.0/IPC/System
- /usr/lib/perl5/vendor_perl/5.42.0/IPC/System/Simple.pm
- /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/examples
- /usr/share/doc/packages/perl-IPC-System-Simple/examples/rsync-backup.pl
- /usr/share/doc/packages/perl-IPC-System-Simple/README
- /usr/share/licenses/perl-IPC-System-Simple
- /usr/share/licenses/perl-IPC-System-Simple/LICENSE
- /usr/share/man/man3/IPC::System::Simple.3pm.gz
Field source: openSUSE Leap 16.0 OSS
