SM0 She11
Path:
/
/
usr
/
share
/
perl5
Full Path (server): /usr/share/perl5
Create Fil3
Upl04d Fil3
📄 AnyDBM_File.pm
[E]
[D]
[R]
📁 App
Open
[D]
[R]
📁 Archive
Open
[D]
[R]
📁 Attribute
Open
[D]
[R]
📄 AutoLoader.pm
[E]
[D]
[R]
📄 AutoSplit.pm
[E]
[D]
[R]
📁 B
Open
[D]
[R]
📄 Benchmark.pm
[E]
[D]
[R]
📄 CORE.pod
[E]
[D]
[R]
📁 Class
Open
[D]
[R]
📁 Compress
Open
[D]
[R]
📁 Config
Open
[D]
[R]
📄 DB.pm
[E]
[D]
[R]
📁 DBM_Filter
Open
[D]
[R]
📄 DBM_Filter.pm
[E]
[D]
[R]
📁 Devel
Open
[D]
[R]
📄 DirHandle.pm
[E]
[D]
[R]
📄 Dumpvalue.pm
[E]
[D]
[R]
📁 Encode
Open
[D]
[R]
📄 English.pm
[E]
[D]
[R]
📁 ExtUtils
Open
[D]
[R]
📁 File
Open
[D]
[R]
📄 FileCache.pm
[E]
[D]
[R]
📄 FileHandle.pm
[E]
[D]
[R]
📁 Filter
Open
[D]
[R]
📄 FindBin.pm
[E]
[D]
[R]
📁 Getopt
Open
[D]
[R]
📁 HTTP
Open
[D]
[R]
📁 I18N
Open
[D]
[R]
📁 IO
Open
[D]
[R]
📁 IPC
Open
[D]
[R]
📁 JSON
Open
[D]
[R]
📁 LWP
Open
[D]
[R]
📄 LWP.pm
[E]
[D]
[R]
📁 Locale
Open
[D]
[R]
📁 Log
Open
[D]
[R]
📁 Math
Open
[D]
[R]
📁 Memoize
Open
[D]
[R]
📄 Memoize.pm
[E]
[D]
[R]
📁 Module
Open
[D]
[R]
📄 NEXT.pm
[E]
[D]
[R]
📁 Net
Open
[D]
[R]
📁 Package
Open
[D]
[R]
📁 Perl
Open
[D]
[R]
📁 PerlIO
Open
[D]
[R]
📄 PerlIO.pm
[E]
[D]
[R]
📁 Pod
Open
[D]
[R]
📄 Safe.pm
[E]
[D]
[R]
📁 Search
Open
[D]
[R]
📄 SelectSaver.pm
[E]
[D]
[R]
📄 SelfLoader.pm
[E]
[D]
[R]
📄 Symbol.pm
[E]
[D]
[R]
📁 Term
Open
[D]
[R]
📁 Test
Open
[D]
[R]
📄 Test.pm
[E]
[D]
[R]
📁 Text
Open
[D]
[R]
📁 Thread
Open
[D]
[R]
📄 Thread.pm
[E]
[D]
[R]
📁 Tie
Open
[D]
[R]
📁 Time
Open
[D]
[R]
📄 UNIVERSAL.pm
[E]
[D]
[R]
📁 URI
Open
[D]
[R]
📄 URI.pm
[E]
[D]
[R]
📁 Unicode
Open
[D]
[R]
📁 User
Open
[D]
[R]
📁 Version
Open
[D]
[R]
📄 XSLoader.pm
[E]
[D]
[R]
📄 _charnames.pm
[E]
[D]
[R]
📄 autouse.pm
[E]
[D]
[R]
📄 base.pm
[E]
[D]
[R]
📄 bigint.pm
[E]
[D]
[R]
📄 bignum.pm
[E]
[D]
[R]
📄 bigrat.pm
[E]
[D]
[R]
📄 blib.pm
[E]
[D]
[R]
📄 bytes.pm
[E]
[D]
[R]
📄 bytes_heavy.pl
[E]
[D]
[R]
📄 charnames.pm
[E]
[D]
[R]
📄 deprecate.pm
[E]
[D]
[R]
📄 diagnostics.pm
[E]
[D]
[R]
📄 dumpvar.pl
[E]
[D]
[R]
📁 encoding
Open
[D]
[R]
📄 feature.pm
[E]
[D]
[R]
📄 fields.pm
[E]
[D]
[R]
📄 filetest.pm
[E]
[D]
[R]
📄 if.pm
[E]
[D]
[R]
📄 integer.pm
[E]
[D]
[R]
📄 less.pm
[E]
[D]
[R]
📄 locale.pm
[E]
[D]
[R]
📄 lwpcook.pod
[E]
[D]
[R]
📄 lwptut.pod
[E]
[D]
[R]
📄 open.pm
[E]
[D]
[R]
📁 overload
Open
[D]
[R]
📄 overload.pm
[E]
[D]
[R]
📄 overloading.pm
[E]
[D]
[R]
📄 perl5db.pl
[E]
[D]
[R]
📄 perlfaq.pm
[E]
[D]
[R]
📁 pod
Open
[D]
[R]
📄 sigtrap.pm
[E]
[D]
[R]
📄 sort.pm
[E]
[D]
[R]
📄 strict.pm
[E]
[D]
[R]
📄 subs.pm
[E]
[D]
[R]
📁 unicore
Open
[D]
[R]
📄 utf8.pm
[E]
[D]
[R]
📄 utf8_heavy.pl
[E]
[D]
[R]
📄 vars.pm
[E]
[D]
[R]
📁 vendor_perl
Open
[D]
[R]
📄 vmsish.pm
[E]
[D]
[R]
📁 warnings
Open
[D]
[R]
📄 warnings.pm
[E]
[D]
[R]
Editing: AnyDBM_File.pm
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
Save