OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
perl5
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/12/2025 04:23:16 PM
rwxr-xr-x
📄
AnyDBM_File.pm
2.56 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
AutoLoader.pm
15.43 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
B
-
05/14/2024 03:10:02 PM
rwxr-xr-x
📄
CORE.pod
3.11 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
Class
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📁
File
-
05/14/2024 03:54:45 PM
rwxr-xr-x
📄
FileHandle.pm
6.63 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
Getopt
-
05/14/2024 03:10:02 PM
rwxr-xr-x
📁
IPC
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
Internals.pod
2.51 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
Math
-
05/14/2024 03:38:06 PM
rwxr-xr-x
📄
PerlIO.pm
14.1 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
SelectSaver.pm
1.05 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
Symbol.pm
4.69 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
Tie
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
UNIVERSAL.pm
6.44 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
URI
-
05/14/2024 12:06:27 PM
rwxr-xr-x
📄
URI.pm
34.13 KB
03/03/2021 03:16:52 PM
rw-r--r--
📄
XSLoader.pm
10.99 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
_charnames.pm
33.35 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
base.pm
10.7 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
bytes.pm
3.65 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
bytes_heavy.pl
758 bytes
04/03/2024 02:35:12 PM
rw-r--r--
📄
charnames.pm
20.44 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
feature.pm
18.56 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
if.pm
3.53 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
integer.pm
3.18 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
overload
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
overload.pm
52.05 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
overloading.pm
1.77 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
pod
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
strict.pm
4.63 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
subs.pm
901 bytes
04/03/2024 02:39:02 PM
rw-r--r--
📁
unicore
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
utf8.pm
10.18 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
vars.pm
2.4 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
vendor_perl
-
02/13/2025 09:24:57 PM
rwxr-xr-x
📁
warnings
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
warnings.pm
49.35 KB
04/03/2024 02:35:12 PM
rw-r--r--
Editing: overloading.pm
Close
package overloading; use warnings; our $VERSION = '0.02'; my $HINT_NO_AMAGIC = 0x01000000; # see perl.h require 5.010001; sub _ops_to_nums { require overload::numbers; map { exists $overload::numbers::names{"($_"} ? $overload::numbers::names{"($_"} : do { require Carp; Carp::croak("'$_' is not a valid overload") } } @_; } sub import { my ( $class, @ops ) = @_; if ( @ops ) { if ( $^H{overloading} ) { vec($^H{overloading} , $_, 1) = 0 for _ops_to_nums(@ops); } if ( $^H{overloading} !~ /[^\0]/ ) { delete $^H{overloading}; $^H &= ~$HINT_NO_AMAGIC; } } else { delete $^H{overloading}; $^H &= ~$HINT_NO_AMAGIC; } } sub unimport { my ( $class, @ops ) = @_; if ( exists $^H{overloading} or not $^H & $HINT_NO_AMAGIC ) { if ( @ops ) { vec($^H{overloading} ||= '', $_, 1) = 1 for _ops_to_nums(@ops); } else { delete $^H{overloading}; } } $^H |= $HINT_NO_AMAGIC; } 1; __END__ =head1 NAME overloading - perl pragma to lexically control overloading =head1 SYNOPSIS { no overloading; my $str = "$object"; # doesn't call stringification overload } # it's lexical, so this stringifies: warn "$object"; # it can be enabled per op no overloading qw(""); warn "$object"; # and also reenabled use overloading; =head1 DESCRIPTION This pragma allows you to lexically disable or enable overloading. =over 6 =item C<no overloading> Disables overloading entirely in the current lexical scope. =item C<no overloading @ops> Disables only specific overloads in the current lexical scope. =item C<use overloading> Reenables overloading in the current lexical scope. =item C<use overloading @ops> Reenables overloading only for specific ops in the current lexical scope. =back =cut