SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Acme-No rpm build for : openSUSE Tumbleweed. For other distributions click perl-Acme-No.

Name : perl-Acme-No
Version : 0.03 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 7.2 Date : 2015-06-09 14:04:22
Group : Development/Libraries/Perl Source RPM : perl-Acme-No-0.03-7.2.src.rpm
Size : 0.01 MB
Packager : (none)
Summary : makes no() work the way I want it to
Description :
ok, first the appropriate pod:

$ perldoc \'-f\' no =item no Module VERSION LIST

=item no Module VERSION

=item no Module LIST

=item no Module

See the L< /use> function, which C< no> is the opposite of.

now, one might think that, since

use mod_perl 1.27;

makes sure that mod_perl is at least version 1.27,

no mod_perl 1.27;

should mean that 1.27 is too high - the manpage says use() and no() are
opposites, and that looks like opposite behavior to me. however...

$ perl -e \'use mod_perl 2.0\'
mod_perl version 2 required--this is only version 1.2701 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

$ perl -e \'no mod_perl 2.0\'
mod_perl version 2 required--this is only version 1.2701 at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

so, no() and use() do the exact same thing here - hmmm... looks like a bug
in perl core...

enter Acme::No

Acme::No makes no() work the way I want it to.

$ perl -MAcme::No -e\'no v5.9.0; print \"ok\
\"\'
Perl v5.009 too high--version less than v5.009 required at -e line 0

$ perl -MAcme::No -e\'no v5.9.1; print \"ok\
\"\'
ok

$ perl -MAcme::No -e\'no mod_perl 1.27; print \"ok\
\"\'
mod_perl version 1.2701 too high--version less than 1.27 required at -e line 0

$ perl -MAcme::No -e\'no mod_perl 2.0; print \"ok\
\"\'
ok

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

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Acme-No-0.03-7.2.noarch.rpm
     

Provides :
perl(Acme::No)
perl-Acme-No

Requires :
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl(:MODULE_COMPAT_5.20.1)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.20.1/Acme
/usr/lib/perl5/vendor_perl/5.20.1/Acme/No.pm
/usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Acme-No
/usr/share/doc/packages/perl-Acme-No/Changes
/usr/share/doc/packages/perl-Acme-No/README
/usr/share/man/man3/Acme::No.3pm.gz

 
ICM