/openbsd-src/gnu/usr.bin/perl/cpan/version/t/ |
H A D | coretests.pm | 8 if ($Test::More::VERSION < 0.48) { # Fix for RT#48268 13 is ${"$pkg\::VERSION"}, eval($req), 'Had to manually use version'; 28 $version = $CLASS->$method(5.005_03); 29 is ( "$version" , "5.00503" , '5.005_03 eq 5.00503' ); 30 $version = $CLASS->$method(1.23); 31 is ( "$version" , "1.23" , '1.23 eq "1.23"' ); 34 $version = $CLASS->$method(23); 35 is ( "$version" , 23 , '23 eq "23"' ); 38 $version [all...] |
H A D | 10_lyon.t | 5 use version; 10 ok('version'->new(1.0203) == 'version'->new('1.0203')); 11 ok('version'->new(1.02_03) == 'version'->new('1.02_03')); 12 ok('version'->new(v1.2.3) == 'version'->new('v1.2.3')); 14 ok('version'->new(v1.2.3_0) == 'version'->new('v1.2.3_0')); 17 cmp_ok('version'->new(1.0203), '==', 'version'->new('1.0203')); 18 cmp_ok('version'->new(1.02_03), '==', 'version'->new('1.02_03')); 19 cmp_ok('version'->new(v1.2.3), '==', 'version'->new('v1.2.3')); 21 cmp_ok('version'->new(v1.2.3_0), '==', 'version'->new('v1.2.3_0')); 24 cmp_ok('version'->new('1.0203')->numify, '==', '1.0203'); [all …]
|
H A D | 04strict_lax.t | 14 is ref($version::LAX), 'Regexp', 'Can see $version::LAX '.$version::LAX ; 15 is ref($version::STRICT), 'Regexp', 'Can see $version::STRICT '.$version::STRICT; 17 my ($v) = ( "snapshot-1.2.3ga-001-432" =~ /($version::LAX)/ ); 18 is $v, '1.2.3', "Extract just the version: $v"; 19 ($v) = ( "snapshot-1.2ga-001-432" =~ /($version::LAX)/ ); 20 is $v, '1.2', "Extract just the version: $v"; 21 ($v) = ( "snapshot-v1.2.3ga-001-432" =~ /($version::STRICT)/ ); 22 is $v, 'v1.2.3', "Extract just the version: $v"; 25 …is ref($version::LAX_DECIMAL_VERSION), 'Regexp', 'Can see $version::LAX_DECIMAL_VERSION '.$version… 26 …is ref($version::LAX_DOTTED_DECIMAL_VERSION), 'Regexp', 'Can see $version::LAX_DOTTED_DECIMAL_VERS… [all …]
|
H A D | 06noop.t | 10 use_ok('version', 0.9930); 13 my $v1 = 'version'->new('1.2'); 15 like $@, qr/operation not supported with version object/, 'No math ops with version objects'; 17 like $@, qr/operation not supported with version object/, 'No math ops with version objects'; 19 like $@, qr/operation not supported with version object/, 'No math ops with version objects'; 21 like $@, qr/operation not supported with version object/, 'No math ops with version object [all...] |
/openbsd-src/gnu/usr.bin/perl/cpan/version/lib/ |
H A D | version.pod | 3 version - Perl extension for Version Objects 7 # Parsing version strings (decimal or dotted-decimal) 9 use version 0.77; # get latest bug-fixes and API 10 $ver = version->parse($string) 12 # Declaring a dotted-decimal $VERSION (keep on one line!) 14 use version; our $VERSION = version->declare("v1.2.3"); # formal 15 use version; our $VERSION = qv("v1.2.3"); # deprecated 16 use version; our $VERSION = qv("v1.2_3"); # deprecated 18 # Declaring an old-style decimal $VERSION (use quotes!) 20 our $VERSION = "1.0203"; # recommended [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/ |
H A D | version.pm | 2 # This is a modified copy of version.pm 0.9909, bundled exclusively for 4 # version.pm is not available. It should not be used by ordinary modules. 6 # When loaded, it will try to load version.pm. If that fails, it will load 7 # ExtUtils::MakeMaker::version::vpp and alias various *version functions 8 # to functions in that module. It will also override UNIVERSAL::VERSION. 11 package ExtUtils::MakeMaker::version; 17 use vars qw(@ISA $VERSION $CLASS $STRICT $LAX *declare *qv); 19 $VERSION = '7.70'; 20 $VERSION =~ tr/_//d; 21 $CLASS = 'version'; [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/version/lib/version/ |
H A D | Internals.pod | 3 version::Internals - Perl extension for Version Objects 7 Overloaded version objects for all modern versions of Perl. This documents 8 the internal data representation and underlying code for version.pm. See 9 F<version.pod> for daily usage. This document is only useful for users 12 =head1 WHAT IS A VERSION? 14 For the purposes of this module, a version "number" is a sequence of 17 uses for a version, as well as extending the "version as number" that 20 There are actually two distinct kinds of version objects: 26 Any version which "looks like a number", see L<Decimal Versions>. This 36 the "external" version (the one used as part of the tag or tarfile name). [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Metadata/t/ |
H A D | extract-version.t | 13 # parse various module $VERSION lines 17 # vers => expected version object (in stringified form), 23 name => 'no $VERSION line', 31 name => 'undefined $VERSION', 34 our $VERSION; 43 our $VERSION = '1.23'; 52 our $VERSION; 53 $VERSION = '1.23'; 60 our $VERSION = '1.23'; # our $VERSION [all...] |
H A D | metadata.t | 35 # returns the name of the distribution (not including version), 111 $VERSION = '1.23'; 113 $VERSION = '2.34'; 125 # constructor should not complain, no default module name or version 129 $VERSION = '1.23'; 135 is( $pm_info->version, undef, 'no version w/o default package' ); 138 # parse $VERSION lines scripts for package main 143 $VERSION = '0.01'; 147 $VERSION = '0.01'; 152 $VERSION = '0.01'; [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/ |
H A D | parse_version.t | 15 my $Has_Version = eval 'require version; "version"->import; 1'; 18 my %versions = (q[$VERSION = '1.00'] => '1.00', 19 q[*VERSION = \'1.01'] => '1.01', 20 q[($VERSION) = q$Revision: 32208 $ =~ /(\d+)/g;] => 32208, 21 q[$FOO::VERSION = '1.10';] => '1.10', 22 q[*FOO::VERSION = \'1.11';] => '1.11', 23 '$VERSION = 0.02' => 0.02, 24 '$VERSION = 0.0' => 0.0, 25 '$VERSION = -1.0' => 'undef', 26 '$VERSION = undef' => 'undef', [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-valid/ |
H A D | 1206545041-META.yml | 3 version: 0.29_02 17 version: 0.29_02 20 version: ~ 23 version: ~ 26 version: ~ 29 version: ~ 32 version: ~ 35 version: ~ 38 version: ~ 41 version: ~ [all …]
|
/openbsd-src/gnu/usr.bin/perl/pod/ |
H A D | perl.pod | 183 perldelta Perl changes since previous version 184 perl5400delta Perl changes in version 5.40.0 185 perl5382delta Perl changes in version 5.38.2 186 perl5381delta Perl changes in version 5.38.1 187 perl5380delta Perl changes in version 5.38.0 188 perl5363delta Perl changes in version 5.36.3 189 perl5362delta Perl changes in version 5.36.2 190 perl5361delta Perl changes in version 5.36.1 191 perl5360delta Perl changes in version 5.36.0 192 perl5343delta Perl changes in version 5.3 [all...] |
/openbsd-src/gnu/usr.bin/perl/cpan/podlators/t/lib/Test/RRA/ |
H A D | ModuleVersion.pm | 21 our (@EXPORT_OK, $VERSION); 23 # Set $VERSION and everything export-related in a BEGIN block for robustness 29 # This version should match the corresponding rra-c-util release, but with 30 # two digits for the minor version, including a leading zero if necessary, 32 $VERSION = '10.03'; 35 # A regular expression matching the version string for a module using the 37 # contents prior to the actual version string, $2 will contain the version 45 ( v? [\d._]+ ) # the version number itself ($2) 51 # A regular expression matching a $VERSION string in a module. $1 will 52 # contain all of the line contents prior to the actual version string, $2 will [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-test/ |
H A D | restrictive-1_4.yml | 10 generated_by: 'Module::Build version 0.3608' 14 version: 1.4 19 version: 0.36_08 22 version: 0.36_08 25 version: 0.36_08 28 version: 0.36_08 31 version: 0.36_08 34 version: 0.36_08 37 version: 0.36_08 40 version: 0.36_08 [all …]
|
H A D | META-1_4.yml | 10 generated_by: 'Module::Build version 0.3608' 14 version: 1.4 19 version: 0.36_08 22 version: 0.36_08 25 version: 0.36_08 28 version: 0.36_08 31 version: 0.36_08 34 version: 0.36_08 37 version: 0.36_08 40 version: 0.36_08 [all …]
|
H A D | unicode.yml | 10 generated_by: 'Module::Build version 0.3608' 14 version: 1.4 19 version: 0.36_08 22 version: 0.36_08 25 version: 0.36_08 28 version: 0.36_08 31 version: 0.36_08 34 version: 0.36_08 37 version: 0.36_08 40 version: 0.36_08 [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-fixable/ |
H A D | meta-spec-version-trailing-zeros.yml | 10 generated_by: 'Module::Build version 0.3608' 14 version: 1.400 19 version: 0.36_08 22 version: 0.36_08 25 version: 0.36_08 28 version: 0.36_08 31 version: 0.36_08 34 version: 0.36_08 37 version: 0.36_08 40 version: 0.36_08 [all …]
|
H A D | invalid-meta-spec-version.yml | 10 generated_by: 'Module::Build version 0.3608' 14 version: X 19 version: 0.36_08 22 version: 0.36_08 25 version: 0.36_08 28 version: 0.36_08 31 version: 0.36_08 34 version: 0.36_08 37 version: 0.36_08 40 version: 0.36_08 [all …]
|
H A D | META-1_4.yml | 9 generated_by: 'Module::Build version 0.3608' 13 version: 1.4 18 version: 0.36_08 21 version: 0.36_08 24 version: 0.36_08 27 version: 0.36_08 30 version: 0.36_08 33 version: 0.36_08 36 version: 0.36_08 39 version: 0.36_08 [all …]
|
/openbsd-src/gnu/llvm/llvm/utils/release/ |
H A D | bump-version.py | 3 # This script bumps the version of LLVM in *all* the different places where 8 import packaging.version 18 def process_file(self, fpath: Path, version: packaging.version.Version) -> None: argument 19 self.version = version 21 version.major, 22 version.minor, 23 version.micro, 24 version.pre, 40 # Return a string from the version class 44 version: Optional[packaging.version.Version] = None, argument [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-Requirements/lib/CPAN/Meta/ |
H A D | Requirements.pm | 5 # ABSTRACT: a set of version requirements for a CPAN dist 7 our $VERSION = '2.143'; 27 #pod A CPAN::Meta::Requirements object models a set of version constraints like 48 #pod * C<bad_version_hook> -- if provided, when a version cannot be parsed into 49 #pod a version object, this code reference will be called with the invalid 50 #pod version string as first argument, and the module name as second 51 #pod argument. It must return a valid version object. 71 #pod $req->add_minimum( $module => $version ); 73 #pod This adds a new minimum version requirement. If the new requirement is 76 #pod Minimum requirements are inclusive. C<$version> i [all...] |
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta/t/data-fail/ |
H A D | META-1_4.yml | 10 generated_by: 'Module::Build version 0.3608' 14 version: 1.4 19 version: 0.36_08 22 version: 0.36_08 25 version: 0.36_08 28 version: 0.36_08 31 version: 0.36_08 34 version: 0.36_08 37 version: 0.36_08 40 version: 0.36_08 [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/parent/t/ |
H A D | parent.t | 17 package No::Version; 20 sub VERSION { 42 } subroutine 22 package Test::Version; 24 use parent -norequire, 'No::Version'; 25 ::is( $No::Version::VERSION, undef, '$VERSION gets left alone' ); 27 # Test Inverse: parent.pm should not clobber existing $VERSION 28 package Has::Version; 30 BEGIN { $Has::Version::VERSION = '42' }; 34 use parent -norequire, 'Has::Version'; 35 ::is( $Has::Version::VERSION, 42 ); [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/Module-Load-Conditional/t/ |
H A D | 01_Module_Load_Conditional.t | 43 version => $Module::Load::Conditional::VERSION, 47 is( $rv->{version}, $Module::Load::Conditional::VERSION, 48 q[ Found proper version] ); 98 ### the version may contain an _, which means perl will warn about 'not 103 version => $Module::Load::Conditional::VERSION + 1, 106 ok( !$rv->{uptodate} && $rv->{version} && $rv->{file}, 114 ok( $rv->{uptodate} && $rv->{version} && $rv->{file}, 122 ok( !$rv->{uptodate} && !$rv->{version} && !$rv->{file}, 128 ### test finding a version of a module that mentions $VERSION in pod 130 ok( $rv, 'Testing $VERSION in POD' ); [all …]
|
/openbsd-src/gnu/usr.bin/perl/dist/Module-CoreList/lib/Module/ |
H A D | CoreList.pod | 9 print $Module::CoreList::version{5.00503}{CPAN}; # prints 1.48 36 with each version of L<perl>. 61 Behaviour since version 2.11 63 Requires a MODULE name as an argument, returns the perl version when that module first 64 appeared in core as ordered by perl version number or undef ( in scalar context ) 69 Requires a MODULE name as an argument, returns the perl version when that module first 81 Takes a perl version as an argument. Upon successful completion, returns a 83 a module (I<e.g.,> 'File::Path') shipped with that version of perl and a value 84 which is the version number (I<e.g.,> '2.09') of that module which shipped 85 with that version of perl . Returns C<undef> otherwise. [all …]
|