HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-570.28.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 22 07:56:01 EDT 2025 x86_64
User: scientificreligi (1062)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //scripts/cpan_sandbox/x86_64/perl
#!/usr/local/cpanel/3rdparty/bin/perl

$ENV{'LANG'} = 'C';

foreach my $path ( grep( !/cpan_sandbox/, split( /:/, $ENV{'PATH'} ) ) ) {
    next if $path =~ m{^/usr/local/cpanel/};
    if ( -x $path . '/' . 'perl' ) {
        if ( grep( /^Makefile\.PL$/, @ARGV ) ) {
            print STDERR "perl-64bit-hack: enabled\n";
            exec( $path . '/' . 'perl', '-I/usr/local/cpanel/scripts/cpan_sandbox', '-MExtUtils::MakeMaker::64BitHack', @ARGV );
        }
        else {
            exec( $path . '/' . 'perl', @ARGV );
        }
    }
}

die "Failed to exec perl: $!";