Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl /
5.36.0 /
Delete
Unzip
Name
Size
Permission
Date
Action
App
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Archive
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Attribute
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
B
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
CPAN
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Carp
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Class
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Compress
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Config
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
DBM_Filter
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Devel
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Digest
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Encode
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Exporter
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
ExtUtils
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
File
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Filter
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Getopt
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
HTTP
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
I18N
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
IO
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
IPC
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
JSON
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Locale
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Math
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Memoize
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Module
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Net
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Params
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Parse
[ DIR ]
drwxr-xr-x
2023-07-12 09:40
Perl
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
PerlIO
[ DIR ]
drwxr-xr-x
2023-07-12 09:40
Pod
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Search
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
TAP
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Term
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Test
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Test2
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Text
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Thread
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Tie
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Time
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
Unicode
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
User
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
autodie
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
encoding
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
overload
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
pod
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
unicore
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
version
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
warnings
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
AnyDBM_File.pm
2.56
KB
-rw-r--r--
2023-11-25 20:59
AutoLoader.pm
15.43
KB
-rw-r--r--
2023-11-25 20:59
AutoSplit.pm
19.18
KB
-rw-r--r--
2023-11-25 20:59
Benchmark.pm
30.3
KB
-rw-r--r--
2023-11-25 20:59
CORE.pod
3.11
KB
-rw-r--r--
2023-11-25 20:59
CPAN.pm
144.5
KB
-rw-r--r--
2023-11-25 20:59
Carp.pm
35.14
KB
-rw-r--r--
2023-11-25 20:59
DB.pm
18.48
KB
-rw-r--r--
2023-11-25 20:59
DBM_Filter.pm
14.05
KB
-rw-r--r--
2023-11-25 20:59
Digest.pm
10.96
KB
-rw-r--r--
2023-11-25 20:59
DirHandle.pm
2.04
KB
-rw-r--r--
2023-11-25 20:59
Dumpvalue.pm
17.25
KB
-rw-r--r--
2023-11-25 20:59
English.pm
4.65
KB
-rw-r--r--
2023-11-25 20:59
Env.pm
5.44
KB
-rw-r--r--
2023-11-25 20:59
Exporter.pm
18.76
KB
-rw-r--r--
2023-11-25 20:59
Fatal.pm
57.7
KB
-rw-r--r--
2023-11-25 20:59
FileCache.pm
5.42
KB
-rw-r--r--
2023-11-25 20:59
FileHandle.pm
6.63
KB
-rw-r--r--
2023-11-25 20:59
FindBin.pm
4.51
KB
-rw-r--r--
2023-11-25 20:59
Internals.pod
2.51
KB
-rw-r--r--
2023-11-25 20:59
Memoize.pm
35.34
KB
-rw-r--r--
2023-11-25 20:59
NEXT.pm
18.54
KB
-rw-r--r--
2023-11-25 20:59
PerlIO.pm
13.92
KB
-rw-r--r--
2023-11-25 20:59
Safe.pm
24.76
KB
-rw-r--r--
2023-11-25 20:59
SelectSaver.pm
1.05
KB
-rw-r--r--
2023-11-25 20:59
SelfLoader.pm
17.27
KB
-rw-r--r--
2023-11-25 20:59
Symbol.pm
4.79
KB
-rw-r--r--
2023-11-25 20:59
Test.pm
29.34
KB
-rw-r--r--
2023-11-25 20:59
Test2.pm
6.24
KB
-rw-r--r--
2023-11-25 20:59
Thread.pm
8.09
KB
-rw-r--r--
2023-11-25 20:59
UNIVERSAL.pm
6.61
KB
-rw-r--r--
2023-11-25 20:59
XSLoader.pm
11.13
KB
-rw-r--r--
2023-11-25 20:59
_charnames.pm
34.84
KB
-rw-r--r--
2023-11-25 20:59
autodie.pm
12.14
KB
-rw-r--r--
2023-11-25 20:59
autouse.pm
4.14
KB
-rw-r--r--
2023-11-25 20:59
base.pm
10.7
KB
-rw-r--r--
2023-11-25 20:59
bigfloat.pm
21.45
KB
-rw-r--r--
2023-11-25 20:59
bigint.pm
22.7
KB
-rw-r--r--
2023-11-25 20:59
bignum.pm
27.56
KB
-rw-r--r--
2023-11-25 20:59
bigrat.pm
20.64
KB
-rw-r--r--
2023-11-25 20:59
blib.pm
2.01
KB
-rw-r--r--
2023-11-25 20:59
builtin.pm
8.84
KB
-rw-r--r--
2023-11-25 20:59
bytes.pm
3.69
KB
-rw-r--r--
2023-11-25 20:59
bytes_heavy.pl
758
B
-rw-r--r--
2023-11-25 20:59
charnames.pm
20.56
KB
-rw-r--r--
2023-11-25 20:59
constant.pm
14.38
KB
-rw-r--r--
2023-11-25 20:59
deprecate.pm
4.92
KB
-rw-r--r--
2023-11-25 20:59
diagnostics.pm
18.88
KB
-rw-r--r--
2023-11-25 20:59
dumpvar.pl
15.19
KB
-rw-r--r--
2023-11-25 20:59
experimental.pm
8.12
KB
-rw-r--r--
2023-11-25 20:59
feature.pm
51.6
KB
-rw-r--r--
2023-11-25 20:59
fields.pm
9.25
KB
-rw-r--r--
2023-11-25 20:59
filetest.pm
3.91
KB
-rw-r--r--
2023-11-25 20:59
if.pm
3.55
KB
-rw-r--r--
2023-11-25 20:59
integer.pm
3.18
KB
-rw-r--r--
2023-11-25 20:59
less.pm
3.13
KB
-rw-r--r--
2023-11-25 20:59
locale.pm
4.77
KB
-rw-r--r--
2023-11-25 20:59
meta_notation.pm
2.02
KB
-rw-r--r--
2023-11-25 20:59
ok.pm
967
B
-rw-r--r--
2023-11-25 20:59
open.pm
8.3
KB
-rw-r--r--
2023-11-25 20:59
overload.pm
52.22
KB
-rw-r--r--
2023-11-25 20:59
overloading.pm
1.77
KB
-rw-r--r--
2023-11-25 20:59
parent.pm
2.64
KB
-rw-r--r--
2023-11-25 20:59
perl5db.pl
310.05
KB
-rw-r--r--
2023-11-25 20:59
perlfaq.pm
77
B
-rw-r--r--
2023-11-25 20:59
sigtrap.pm
8.53
KB
-rw-r--r--
2023-11-25 20:59
sort.pm
2.92
KB
-rw-r--r--
2023-11-25 20:59
strict.pm
4.67
KB
-rw-r--r--
2023-11-25 20:59
subs.pm
945
B
-rw-r--r--
2023-11-25 20:59
utf8.pm
10.5
KB
-rw-r--r--
2023-11-25 20:59
vars.pm
2.4
KB
-rw-r--r--
2023-11-25 20:59
version.pm
1.93
KB
-rw-r--r--
2023-11-25 20:59
version.pod
9.6
KB
-rw-r--r--
2023-11-25 20:59
vmsish.pm
4.21
KB
-rw-r--r--
2023-11-25 20:59
warnings.pm
54.61
KB
-rw-r--r--
2023-11-25 20:59
Save
Rename
package if; use strict; our $VERSION = '0.0610'; sub work { my $method = shift() ? 'import' : 'unimport'; unless (@_ >= 2) { my $type = ($method eq 'import') ? 'use' : 'no'; die "Too few arguments to '$type if' (some code returning an empty list in list context?)" } return unless shift; # CONDITION my $p = $_[0]; # PACKAGE (my $file = "$p.pm") =~ s!::!/!g; require $file; # Works even if $_[0] is a keyword (like open) my $m = $p->can($method); goto &$m if $m; } sub import { shift; unshift @_, 1; goto &work } sub unimport { shift; unshift @_, 0; goto &work } 1; __END__ =head1 NAME if - C<use> a Perl module if a condition holds =head1 SYNOPSIS use if CONDITION, "MODULE", ARGUMENTS; no if CONDITION, "MODULE", ARGUMENTS; =head1 DESCRIPTION =head2 C<use if> The C<if> module is used to conditionally load another module. The construct: use if CONDITION, "MODULE", ARGUMENTS; ... will load C<MODULE> only if C<CONDITION> evaluates to true; it has no effect if C<CONDITION> evaluates to false. (The module name, assuming it contains at least one C<::>, must be quoted when C<'use strict "subs";'> is in effect.) If the CONDITION does evaluate to true, then the above line has the same effect as: use MODULE ARGUMENTS; For example, the F<Unicode::UCD> module's F<charinfo> function will use two functions from F<Unicode::Normalize> only if a certain condition is met: use if defined &DynaLoader::boot_DynaLoader, "Unicode::Normalize" => qw(getCombinClass NFD); Suppose you wanted C<ARGUMENTS> to be an empty list, I<i.e.>, to have the effect of: use MODULE (); You can't do this with the C<if> pragma; however, you can achieve exactly this effect, at compile time, with: BEGIN { require MODULE if CONDITION } =head2 C<no if> The C<no if> construct is mainly used to deactivate categories of warnings when those categories would produce superfluous output under specified versions of F<perl>. For example, the C<redundant> category of warnings was introduced in Perl-5.22. This warning flags certain instances of superfluous arguments to C<printf> and C<sprintf>. But if your code was running warnings-free on earlier versions of F<perl> and you don't care about C<redundant> warnings in more recent versions, you can call: use warnings; no if $] >= 5.022, q|warnings|, qw(redundant); my $test = { fmt => "%s", args => [ qw( x y ) ] }; my $result = sprintf $test->{fmt}, @{$test->{args}}; The C<no if> construct assumes that a module or pragma has correctly implemented an C<unimport()> method -- but most modules and pragmata have not. That explains why the C<no if> construct is of limited applicability. =head1 BUGS The current implementation does not allow specification of the required version of the module. =head1 SEE ALSO L<Module::Requires> can be used to conditionally load one or more modules, with constraints based on the version of the module. Unlike C<if> though, L<Module::Requires> is not a core module. L<Module::Load::Conditional> provides a number of functions you can use to query what modules are available, and then load one or more of them at runtime. The L<provide> module from CPAN can be used to select one of several possible modules to load based on the version of Perl that is running. =head1 AUTHOR Ilya Zakharevich L<mailto:ilyaz@cpan.org>. =head1 COPYRIGHT AND LICENCE This software is copyright (c) 2002 by Ilya Zakharevich. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut