Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
perl /
vendor /
lib /
Config /
Any /
Delete
Unzip
Name
Size
Permission
Date
Action
Base.pm
1.77
KB
-rw-rw-rw-
2017-04-09 18:12
General.pm
1.55
KB
-rw-rw-rw-
2017-04-09 18:16
INI.pm
2.15
KB
-rw-rw-rw-
2017-04-09 18:15
JSON.pm
2.62
KB
-rw-rw-rw-
2017-04-24 00:51
Perl.pm
1.44
KB
-rw-rw-rw-
2017-04-09 18:14
XML.pm
2.21
KB
-rw-rw-rw-
2017-04-09 18:14
YAML.pm
1.55
KB
-rw-rw-rw-
2017-04-09 18:15
Save
Rename
package Config::Any::Base; use strict; use warnings; =head1 NAME Config::Any::Base - Base class for loaders =head1 DESCRIPTION This is a base class for all loaders. It currently handles the specification of dependencies in order to ensure the subclass can load the config file format. =head1 METHODS =head2 is_supported( ) Allows us to determine if the file format can be loaded. The can be done via one of two subclass methods: =over 4 =item * C<requires_all_of()> - returns an array of items that must all be present in order to work =item * C<requires_any_of()> - returns an array of items in which at least one must be present =back You can specify a module version by passing an array reference in the return. sub requires_all_of { [ 'My::Module', '1.1' ], 'My::OtherModule' } Lack of specifying these subs will assume you require no extra modules to function. =cut sub is_supported { my ( $class ) = shift; local $@; if ( $class->can( 'requires_all_of' ) ) { return eval { _require($_) for $class->requires_all_of; 1; } || 0; } if ( $class->can( 'requires_any_of' ) ) { eval { _require( $_ ); 1 } and return 1 for $class->requires_any_of; return 0; } # requires nothing! return 1; } sub _require { my ( $input ) = shift; my ( $module, $version ) = ( ref $input ? @$input : $input ); (my $file = "$module.pm") =~ s{::}{/}g; require $file; $module->VERSION if $version; } =head1 AUTHOR Brian Cassidy <bricas@cpan.org> =head1 COPYRIGHT AND LICENSE Copyright 2008-2009 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 SEE ALSO =over 4 =item * L<Config::Any> =back =cut 1;