Name : perl-Acme-Don-t
| |
Version : 1.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.9.1
| Date : 2023-07-20 16:56:50
|
Group : Development/Libraries/Perl
| Source RPM : perl-Acme-Don-t-1.01-lp155.9.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : The opposite of C< do>
|
Description :
The Acme::Don\'t module provides a \'don\'t\' command, which is the opposite of Perl\'s built-in \'do\'.
It is used exactly like the \'do BLOCK\' function except that, instead of executing the block it controls, it...well...doesn\'t.
Regardless of the contents of the block, \'don\'t\' returns \'undef\'.
You can even write:
don\'t { } while condition();
And, yes, in strict analogy to the semantics of Perl\'s magical \'do...while\', the \'don\'t...while\' block is _unconditionally_ not done once before the test. ;-)
Note that the code in the \'don\'t\' block must be syntactically valid Perl. This is an important feature: you get the accelerated performance of not actually executing the code, without sacrificing the security of compile-time syntax checking.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/15.5/noarch |