Name : perl-Sys-OutPut
| |
Version : 2.1
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.6.1
| Date : 2023-07-20 19:12:17
|
Group : Development/Libraries/Perl
| Source RPM : perl-Sys-OutPut-2.1-lp155.6.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Sys::OutPut perl module
|
Description :
These subroutines will make generating output to \'STDOUT\' and \'STDERR\' easier.
All of the routines treat the _$fmtstr_ argument as a _printf_ format string, with _AATTargs_ as the format string arguments.
The *talk* routine generates output to \'STDERR\' only if the variable \'$Sys::OutPut::quiet\' is non-null and non-zero.
The *out* routine generates output to \'STDOUT\', with a _newline_ appended to < $fmtstr>, if it is not already terminated with one.
The *put* routine generates output to \'STDOUT\', without any additional trailing newline.
The *err* routine generates output to \'STDERR\', with a _newline_ appended if needed.
The *debug* routine generates output to \'STDERR\' only if the variable \'$Sys::OutPut::debug\' is non-null and non-zero, which is also returned as the result. This allows for convenient usages such as in the following example:
sub foo { ... return if debug \"Stopping now.\"; ... next if debug \"Skipping further processing\"; ... }
If not defined by the user, the \'$Sys::OutPut::quiet\' and \'$Sys::OutPut::debug\' variables are initialized from their corresponding main variables \'$::quiet\' and \'$::debug\', respectively, unless they are already defined.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-S/15.5/noarch |