SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr rpm build for : openSUSE Tumbleweed. For other distributions click perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr.

Name : perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr
Version : 0.01 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.58 Date : 2024-08-05 20:25:04
Group : Development/Libraries/Perl Source RPM : perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr-0.01-1.58.src.rpm
Size : 0.02 MB
Packager : (none)
Summary : Check for \"return $x or ...\"
Description :
\'return\' when encountered in an expression returns from the enclosing
subroutine, without evaluating the rest of the expression. So a
lower-precedence operator (\'or\', \'and\', \'xor\') won\'t get evaluated after a
\'return\'. This most commonly appears as the mis-idiom:


return $x or die \'Aaaagh! $x was zero!\';

Instead, use the higher-precedence \'||\' operator, like this:

return $x || die \'Aaaagh! $x was zero!\';

Or separate the two operations, like this:

$x or die \'Aaaagh! $x was zero!\';
return $x;

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr-0.01-1.58.noarch.rpm
     

Provides :
perl(Perl::Critic::Policy::BuiltinFunctions::ProhibitReturnOr)
perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(Perl::Critic)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Perl
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic/Policy
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic/Policy/BuiltinFunctions
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic/Policy/BuiltinFunctions/ProhibitReturnOr.pm
/usr/share/doc/packages/perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr
/usr/share/doc/packages/perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr/Changes
/usr/share/doc/packages/perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr/README.md
/usr/share/doc/packages/perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr/minil.toml
/usr/share/licenses/perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr
/usr/share/licenses/perl-Perl-Critic-Policy-BuiltinFunctions-ProhibitReturnOr/LICENSE
/usr/share/man/man3/Perl::Critic::Policy::BuiltinFunctions::ProhibitReturnOr.3pm.gz

 
ICM