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: AnyDBM_File.pm
Close
package AnyDBM_File; use warnings; use strict; use 5.006_001; our $VERSION = '1.01'; our @ISA = qw(NDBM_File DB_File GDBM_File SDBM_File ODBM_File) unless @ISA; my $mod; for $mod (@ISA) { if (eval "require $mod") { @ISA = ($mod); # if we leave @ISA alone, warnings abound return 1; } } die "No DBM package was successfully found or installed"; __END__ =head1 NAME AnyDBM_File - provide framework for multiple DBMs NDBM_File, DB_File, GDBM_File, SDBM_File, ODBM_File - various DBM implementations =head1 SYNOPSIS use AnyDBM_File; =head1 DESCRIPTION This module is a "pure virtual base class"--it has nothing of its own. It's just there to inherit from one of the various DBM packages. It prefers ndbm for compatibility reasons with Perl 4, then Berkeley DB (See L<DB_File>), GDBM, SDBM (which is always there--it comes with Perl), and finally ODBM. This way old programs that used to use NDBM via dbmopen() can still do so, but new ones can reorder @ISA: BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File NDBM_File) } use AnyDBM_File; Having multiple DBM implementations makes it trivial to copy database formats: use Fcntl; use NDBM_File; use DB_File; tie %newhash, 'DB_File', $new_filename, O_CREAT|O_RDWR; tie %oldhash, 'NDBM_File', $old_filename, 1, 0; %newhash = %oldhash; =head2 DBM Comparisons Here's a partial table of features the different packages offer: odbm ndbm sdbm gdbm bsd-db ---- ---- ---- ---- ------ Linkage comes w/ perl yes yes yes yes yes Src comes w/ perl no no yes no no Comes w/ many unix os yes yes[0] no no no Builds ok on !unix ? ? yes yes ? Code Size ? ? small big big Database Size ? ? small big? ok[1] Speed ? ? slow ok fast FTPable no no yes yes yes Easy to build N/A N/A yes yes ok[2] Size limits 1k 4k 1k[3] none none Byte-order independent no no no no yes Licensing restrictions ? ? no yes no =over 4 =item [0] on mixed universe machines, may be in the bsd compat library, which is often shunned. =item [1] Can be trimmed if you compile for one access method. =item [2] See L<DB_File>. Requires symbolic links. =item [3] By default, but can be redefined. =back =head1 SEE ALSO dbm(3), ndbm(3), DB_File(3), L<perldbmfilter> =cut