⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gutsloader.pm

📁 source of perl for linux application,
💻 PM
字号:
package Locale::Maketext::GutsLoader;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 print "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 print "Non-utf8'd Locale::Maketext::Guts fine\n";}else {    Locale::Maketext::DEBUG and print "Loaded Locale::Maketext::Guts fine\n";}1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -