HEX
Server: Apache
System: Linux server-634962.emtiyz.com 5.14.0-611.11.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 3 09:47:37 EST 2025 x86_64
User: codo66ho (1003)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/.cpan/build/Template-Toolkit-3.102-0/t/zz-pmv.t
#!/usr/bin/perl

# Test that our declared minimum Perl version matches our syntax

use strict;
BEGIN {
    $|  = 1;
    $^W = 1;
}

my @MODULES = (
    'Perl::MinimumVersion 1.20',
    'Test::MinimumVersion 0.008',
);

# Don't run tests for installs
use Test::More;

# NOTE: Perl::MinimumVersion / PPI can't parse hash definitions with utf8 
# values or keys.  That means that t/stash-xs-unicode.t always fails.  We
# have no option but to disable this test until PPI can handle this case
# or Test::MinimumVersion gives us a way to specify files to skip.

plan( skip_all => "These aren't the tests you're looking for... move along" );

# NOTHING RUN PAST THIS POINT

unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
    plan( skip_all => "Author tests not required for installation" );
}

# Load the testing modules
foreach my $MODULE ( @MODULES ) {
    eval "use $MODULE";
    if ( $@ ) {
        $ENV{RELEASE_TESTING}
            ? die( "Failed to load required release-testing module $MODULE" )
            : plan( skip_all => "$MODULE not available for testing" );
    }
}

#all_minimum_version_ok(5.006);
minimum_version_ok('t/stash-xs-unicode.t', 5.006);