| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No doubt I made some mistakes like missed some files or
misnamed some files. The naming rules were more or less:
(1) if the module is from CPAN, follows its ways, be it
t/*.t or test.pl.
(2) otherwise if there are multiple tests for a module
put them in a t/
(3) otherwise if there's only one test put it in Module.t
(4) helper files go to module/ (locale, strict, warnings)
(5) use longer filenames now that we can (but e.g. the
compat-0.6.t and the Text::Balanced test files still
were renamed to be more civil against the 8.3 people)
installperl was updated appropriately not to install the
*.t files or the help files from under lib.
TODO: some helper files still remain under t/ that could
follow their 'masters'. UPDATE: On second thoughts, why
should they. They can continue to live under t/lib, and
in fact the locale/strict/warnings helpers that were moved
could be moved back. This way the amount of non-installable
stuff under lib/ stays smaller.
p4raw-id: //depot/perl@10676
|
|
|
|
|
| |
Message-ID: <20010315212518.A18870@firedrake.org>
p4raw-id: //depot/perl@9176
|
|
|
|
|
|
|
|
|
| |
for(;;)-loop
Message-Id: <200103131736.MAA35615@raptor.research.att.com>
A more correct prime finder.
p4raw-id: //depot/perl@9132
|
|
|
| |
p4raw-id: //depot/perl@8128
|
|
|
|
|
|
|
| |
Message-ID: <20001205212328.C6473@blackrider.aocn.com>
Carp::Heavy parts not very applicable because of recent changes.
p4raw-id: //depot/perl@8013
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Subject: [ID 20001015.004] Fwd: Tie::SubstrHash -- bug & fix (all Perl versions)
Date: Mon, 16 Oct 2000 04:48:59 +0300 (EET DST)
Message-Id: <200010160148.EAA14523@alpha.hut.fi>
originally from Linc Madison. Also Andreas König's comments
taken into account. Some other problems with Tie::SubstrHash
fixed: didn't croak when the table exceeded the requested number
of entries (as documented) but instead when the number of entries
exceeded the size of the table, a croak() had an unnecessary \n,
didn't have a CLEAR method, documented that there is no exists().
Didn't fix to be strict-proof because the module uses &foo; and
dynamic scope. Added a test script exercizing both first tamely
the basic functionality, and then the failure cases reported by
Linc Madison.
p4raw-id: //depot/perl@7530
|
|
|
|
|
|
|
|
| |
fix a autovivification bug in Tie::RefHash, add tests for both.
Subject: Re: Tie::RefHash: use hash refs as keys in nested hashes
Message-ID: <Pine.LNX.4.21.0011021516010.8344-100000@texel03.doc.ic.ac.uk>
p4raw-id: //depot/perl@7527
|
|
|
|
|
| |
Message-ID: <20001021025703.A2115@darkstar.chetlin.org>
p4raw-id: //depot/perl@7393
|
|
|
|
|
|
|
|
| |
the (unrelated) Tie::Handle in CPAN will remain at 3.0.
Subject: Note on Tie::Handle
Message-ID: <m3ya01kaxh.fsf@ak-71.mind.de>
p4raw-id: //depot/perl@7161
|
|
|
|
|
|
|
| |
Message-Id: <200010050837.JAA00564@mikado.tiuk.ti.com>
Bug reported and fix suggested by Philip D Crow <pcrow@hertz.com>.
p4raw-id: //depot/perl@7151
|
|
|
|
|
| |
Message-ID: <20000904000422.26002.qmail@eik.g.aas.no>
p4raw-id: //depot/perl@7022
|
|
|
|
|
|
|
|
| |
all the warnings functions now can take an optional object reference.
Subject: [PATCH bleedperl@6691] warnings pragma update
Message-ID: <000c01c0095d$278e0040$ca01073e@bfs.phone.com>
p4raw-id: //depot/perl@6707
|
|
|
| |
p4raw-id: //depot/perl@5702
|
|
|
| |
p4raw-id: //depot/perl@5507
|
|
|
| |
p4raw-id: //depot/perl@4860
|
|
|
| |
p4raw-id: //depot/perl@4833
|
|
|
|
|
| |
elements or slices
p4raw-id: //depot/perl@4796
|
|
|
| |
p4raw-id: //depot/perl@3547
|
|
|
|
|
| |
p4raw-link: @3545 on //depot/perl: 151c20ad7c538678c95caebf3d22c0270964f452
p4raw-id: //depot/perl@3546
|
|
|
| |
p4raw-id: //depot/perl@3545
|
|
|
|
|
|
| |
Provide Tie::StdHandle
Basic update of docs.
p4raw-id: //depot/perl@3330
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Message-ID: <19990107032132.20124.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRAIL2 lib/Net/hostent.pm] Typo fix
Date: Wed, 6 Jan 1999 22:21:32 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107032445.20178.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/Net/netent.pm] Typo fix
Date: Wed, 6 Jan 1999 22:24:45 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107032834.20362.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRAIL2 lib/Term/Complete.pm] Typo fix
Date: Wed, 6 Jan 1999 22:28:34 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107033136.20440.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRAIL2 lib/Term/ReadLine.pm] Typo fix
Date: Wed, 6 Jan 1999 22:31:36 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107033351.20540.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/CGI/Apache.pm] Typo fix
Date: Wed, 6 Jan 1999 22:33:51 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107033933.20707.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/CGI/Push.pm] Typo fix
Date: Wed, 6 Jan 1999 22:39:33 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107034548.20936.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/File/Copy.pm] Typo fixes
Date: Wed, 6 Jan 1999 22:45:48 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107034856.21056.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/File/Spec.pm] Typo fix
Date: Wed, 6 Jan 1999 22:48:56 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107035113.21174.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/File/Spec/Mac.pm] Typo fixes
Date: Wed, 6 Jan 1999 22:51:13 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107035612.21522.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/Math/BigFloat.pm] Typo fix
Date: Wed, 6 Jan 1999 22:56:12 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107035842.21585.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/Math/BigInt.pm] Typo fixes
Date: Wed, 6 Jan 1999 22:58:41 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107040644.22009.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/Text/Wrap.pm] Typo fixes
Date: Wed, 6 Jan 1999 23:06:44 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107040955.22087.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/Tie/Array.pm] Typo fixes
Date: Wed, 6 Jan 1999 23:09:55 -0500 (EST)
From: abigail@fnx.com
Message-ID: <19990107041136.22174.qmail@alexandra.wayne.fnx.com>
Subject: [PATCH 5.005_03 TRIAL2 lib/Tie/Hash.pm] Typo fix
Date: Wed, 6 Jan 1999 23:11:36 -0500 (EST)
p4raw-id: //depot/cfgperl@2579
|
|
|
|
|
|
| |
To: perl5-porters@perl.org
Message-ID: <3681953C.8B6A90AA@geostaff.com>
p4raw-id: //depot/cfgperl@2502
|
|
|
| |
p4raw-id: //depot/perl@2359
|
|
|
|
|
|
| |
p4raw-link: @873 on //depot/maint-5.004/perl: 990f469d529b62458be38e8659885fd26d353629
p4raw-link: @872 on //depot/maint-5.004/perl: 0b85608df162729d39cb0f96c9f88c7de0a3ceab
p4raw-id: //depot/win32/perl@935
|
|
|
| |
p4raw-id: //depot/perl@595
|
|
|
|
|
|
|
| |
Date: Sun, 11 Jan 1998 20:34:05 -0500 (EST)
Subject: 5.004_56: Patch to (?{}) quoting + cosmetic
Date: Mon, 2 Feb 1998 01:28:46 -0500 (EST)
p4raw-id: //depot/perl@470
|
|
|
| |
p4raw-id: //depot/perl@469
|
|
|
| |
p4raw-id: //depot/perl@468
|
|
|
| |
p4raw-id: //depot/ansiperl@424
|
|
|
| |
p4raw-id: //depot/ansiperl@419
|
|
|
|
| |
private-msgid: <199701282014.VAA12645@selters.uio.no>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CORE LANGUAGE CHANGES
Subject: Inherited overloading
Date: Sun, 29 Dec 1996 08:12:54 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: gv.c lib/overload.pm perl.h sv.c sv.h t/op/overload.t
Chip Salzenberg writes:
>
> Patch now, tarchive later:
Below is the fixed overloading patch.
Note that in between AMG_names got const on it (a good thing!), but as
a corollary I needed to cast away const-ness to actually use it
(since, say, newSVpv does not have const args).
Enjoy,
p5p-msgid: <199612291312.IAA02134@monk.mps.ohio-state.edu>
Subject: Closures at file scope must be anonymous
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c
Subject: Warn on '{if,while} ($x = X)' where X is glob, readdir, or <FH>
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c pod/perldiag.pod
DOCUMENTATION
Subject: Re: perldiag.pod entry for "Scalar value @%s{%s} ..."
Date: Tue, 31 Dec 1996 11:50:19 -0500
From: Roderick Schertler <roderick@gate.net>
Files: pod/perldiag.pod
Msg-ID: <2043.852051019@eeyore.ibcinc.com>
(applied based on p5p patch as commit c885792efecf3f527b3b5099727cc16b03eee1dc)
OTHER CORE CHANGES
Subject: Get rid of 'Leaked scalars'
From: Chip Salzenberg <chip@atlantic.net>
Files: cop.h gv.c op.c
TESTS
Subject: Expanded locale.t and misc.t
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Files: t/lib/locale.t t/lib/misc.t
Subject: Expanded my.t
From: Chip Salzenberg <chip@atlantic.net>
Files: t/lib/my.t
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CORE LANGUAGE CHANGES
Subject: Support C<delete @hash{@keys}>
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c op.h opcode.pl pod/perldiag.pod pod/perlfunc.pod pp.c t/op/delete.t
Subject: Autovivify scalars
From: Chip Salzenberg <chip@atlantic.net>
Files: dump.c op.c op.h pp.c pp_hot.c
DOCUMENTATION
Subject: Update pods: perldelta -> perlnews, perli18n -> perllocale
From: Tom Christiansen <tchrist@perl.com>
Files: MANIFEST pod/perl.pod pod/perldelta.pod pod/perli18n.pod pod/perlnews.pod
Subject: perltoot.pod
Date: Mon, 09 Dec 1996 07:44:10 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Files: MANIFEST pod/perltoot.pod
Msg-ID: <199612091444.HAA09947@toy.perl.com>
(applied based on p5p patch as commit 32e22efaa9ec59b73a208b6c532a0b435e2c6462)
Subject: Perlguts, version 25
Date: Fri, 6 Dec 96 11:40:27 PST
From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Files: pod/perlguts.pod
private-msgid: <199612061940.AA055461228@hpcc123.corp.hp.com>
Subject: pod patches for English errors
Date: Mon, 09 Dec 1996 13:33:11 -0800
From: Steve Kelem <steve.kelem@xilinx.com>
Files: pod/*.pod
Msg-ID: <24616.850167191@castor>
(applied based on p5p patch as commit 0135f10892ed8a21c4dbd1fca21fbcc365df99dd)
Subject: Misc doc updates
Date: Sat, 14 Dec 1996 18:56:33 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Files: pod/*
Subject: Re: perldelta.pod
Here are some diffs to the _11 pods. I forgot to add perldelta to
perl.pod though.
And *PLEASE* fix the Artistic License so it no longer has the bogus
"whomever" misdeclined in the nominative case:
under the copyright of this Package, but belong to whomever generated
them, and may be sold commercially, and may be aggregated with this
It should obviously be "whoever".
p5p-msgid: <199612150156.SAA12506@mox.perl.com>
OTHER CORE CHANGES
Subject: Allow assignment to empty array values during foreach()
From: Chip Salzenberg <chip@atlantic.net>
Files: cop.h global.sym mg.c op.c perl.h pp_hot.c proto.h sv.c
Subject: Fix nested closures
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c opcode.pl pp.c pp_ctl.c pp_hot.c
Subject: Fix core dump on auto-vivification
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_hot.c
Subject: Fix core dump on C<open $undef_var, "X">
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_sys.c
Subject: Fix -T/-B on globs and globrefs
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_sys.c
Subject: Fix memory management of $`, $&, and $'
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_hot.c regexec.c
Subject: Fix paren matching during backtracking
From: Chip Salzenberg <chip@atlantic.net>
Files: regexec.c
Subject: Fix memory leak and std{in,out,err} death in perl_{con,de}str
From: Chip Salzenberg <chip@atlantic.net>
Files: miniperlmain.c perl.c perl.h sv.c
Subject: Discard garbage bytes at end of prototype()
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c
Subject: Fix local($pack::{foo})
From: Chip Salzenberg <chip@atlantic.net>
Files: global.sym pp.c pp_hot.c proto.h scope.c
Subject: Disable warn, die, and parse hooks _before_ global destruction
From: Chip Salzenberg <chip@atlantic.net>
Files: perl.c
Subject: Re: Bug in formline
Date: Sun, 08 Dec 1996 14:58:32 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pp_ctl.c
Msg-ID: <199612081958.OAA26025@aatma.engin.umich.edu>
(applied based on p5p patch as commit b386bda18108ba86d0b76ebe2d8745eafa80f39e)
Subject: Fix C<@a = ($a,$b,$c,$d) = (1,2)>
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_hot.c
Subject: Properly support and document newRV{,_inc,_noinc}
From: Chip Salzenberg <chip@atlantic.net>
Files: global.sym pod/perlguts.pod sv.c sv.h
Subject: Allow lvalue pos inside recursive function
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c pp.c pp_ctl.c pp_hot.c
PORTABILITY
Subject: Make $privlib contents compatible with 5.003
From: Chip Salzenberg <chip@atlantic.net>
Files: INSTALL ext/Opcode/Safe.pm installperl lib/FileHandle.pm lib/Test/Harness.pm
Subject: Support $bincompat3 config variable; update metaconfig units
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure MANIFEST compat3.sym config_h.SH embed.pl global.sym old_embed.pl old_global.sym old_perl_exp.SH perl_exp.SH
Subject: Look for gettimeofday() in Configure
Date: Wed, 11 Dec 1996 15:49:57 +0100
From: John Hughes <john@AtlanTech.COM>
Files: Configure config_H config_h.SH pp.c
Subject: perl5.003_11, Should base use of gettimeofday on HAS_GETTIMEOFDAY, not I_SYS_TIME
I've been installing perl5.003_11 on a SCO system that has the TCP/IP runtime
installed but not the TCP/IP development system.
Unfortunately the <sys/time.h> include file is included in the TCP/IP runtime
while libsocket.a is in the development system.
This means that pp.c decides to use "gettimeofday" because <sys/time.h> is
present but I can't link the perl that gets compiled.
So, here's a patch to base the use of "gettimeofday" on "HAS_GETTIMEOFDAY"
instead of "I_SYS_TIME". I also took the liberty of removing the special
case for plan9 (I assume plan9 has <sys/time.h> but no gettimeofday. Am I
right?).
p5p-msgid: <01BBE77A.F6F37F80@malvinas.AtlanTech.COM>
Subject: Make $startperl a relative path if people want portable scrip
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure
Subject: Homogenize use of "eval exec" hack
From: Chip Salzenberg <chip@atlantic.net>
Files: Porting/Glossary eg/README eg/nih eg/sysvipc/ipcmsg eg/sysvipc/ipcsem eg/sysvipc/ipcshm lib/diagnostics.pm makeaperl.SH pod/checkpods.PL pod/perlrun.pod pod/pod2html.PL pod/pod2latex.PL pod/pod2man.PL pod/pod2text.PL utils/c2ph.PL utils/h2ph.PL utils/h2xs.PL utils/perlbug.PL utils/perldoc.PL utils/pl2pm.PL x2p/a2py.c x2p/find2perl.PL x2p/s2p.PL
Subject: LynxOS support
Date: Thu, 12 Dec 1996 09:25:00 PST
From: Greg Seibert <seibert@Lynx.COM>
Files: Configure MANIFEST hints/lynxos.sh t/op/stat.t
Msg-ID: <m0vYEsY-0000IZC@kzinti.lynx.com>
(applied based on p5p patch as commit 6693373533b15e559fd8f0f1877e5e6ec15483cc)
Subject: Re: db-recno.t failures with _11 on Freebsd 2.1-stable
Date: 11 Dec 1996 18:58:56 -0500
From: Roderick Schertler <roderick@gate.net>
Files: INSTALL hints/freebsd.sh
Msg-ID: <pzohg0r5tr.fsf@eeyore.ibcinc.com>
(applied based on p5p patch as commit 10e40321ee752c58e3407b204c74c8049894cb51)
Subject: VMS patches to 5.003_11
Date: Mon, 09 Dec 1996 23:16:10 -0500 (EST)
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Files: MANIFEST regexec.c t/lib/filehand.t util.c vms/*
private-msgid: <01ICTR32LCZG001A1D@hmivax.humgen.upenn.edu>
TESTING
Subject: recurse recurse recurse ...
Date: Mon, 9 Dec 1996 23:44:27 +0200 (EET)
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Files: MANIFEST t/op/recurse.t
private-msgid: <199612092144.XAA29025@alpha.hut.fi>
UTILITIES, LIBRARY, AND EXTENSIONS
Subject: Add CPAN and Net::FTP
From: Chip Salzenberg <chip@atlantic.net>
Files: MANIFEST lib/CPAN.pm lib/CPAN/FirstTime.pm lib/CPAN/Nox.pm lib/Net/FTP.pm lib/Net/Netrc.pm lib/Net/Socket.pm pod/perlmod.pod
Subject: Add File::Compare
Date: Mon, 16 Dec 1996 18:44:59 GMT
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Files: MANIFEST lib/File/Compare.pm pod/perlmod.pod
Msg-ID: <199612161844.SAA02152@pluto>
(applied based on p5p patch as commit ec971c5c328aca84fb827f69f2cc1dc3be81f830)
Subject: Add Tie::RefHash
Date: Sun, 15 Dec 1996 18:58:08 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: MANIFEST lib/Tie/RefHash.pm pod/perlmod.pod
Msg-ID: <199612152358.SAA28665@aatma.engin.umich.edu>
(applied based on p5p patch as commit 9a079709134ebbf4c935cc8752fdb564e5c82b94)
Subject: Put "splain" in utils.
From: Chip Salzenberg <chip@atlantic.net>
Files: Makefile.SH installperl utils/Makefile utils/splain.PL
Subject: Some h2ph fixes
Date: Fri, 13 Dec 1996 11:34:12 -0800
From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Files: utils/h2ph.PL
Here is a message regarding changes to h2ph that should probably be folded
into the 5.004 release.
p5p-msgid: <199612131934.AA289845652@hpcc123.corp.hp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[This finishes a job started by Randy Ray with perl5.002b1f.]
This patch updates the files lib/TieHash.pm and lib/SubstrHash.pm. Those
two files are moved to a new directory called lib/Tie. A new tie-related
class for scalars, lib/Tie/Scalar.pm, is added. Each of these has pod
documentation that passes through pod2man without complaint. All package
names are updated to reflect this structure, and the "standard" sub-classes
for hashes and scalars are named Tie::StdHash and Tie::StdScalar, in
keeping with the group consensus.
With this, the documentation for Tie::Hash should be fine, Tie::Scalar
exists and is documented, and Tie::SubstrHash (formerly just SubstrHash)
is also documented, albeit weakly. I have no examples of usage to show, and
I suspect a possible bug or two, but without examples it's hard to say.
As it happens, this patch also impacts the DBM-style extensions, as they
(DB_File, NDBM_File, GBM_File, ODBM_File, SDBM_File) all inherited from
the old TieHash.pm as a base class.
|
|
[ re-organisations:
# Give this module a sensible home.
mv pod/PerlDoc/Functions.pm lib/Pod/Functions.pm
rmdir pod/PerlDoc
# Tie:: finally has its own hierarchy
mkdir lib/Tie
mv lib/TieHash.pm lib/Tie/Hash.pm
mv lib/SubstrHash.pm lib/Tie/SubstrHash.pm
rm -f lib/FileHandle.pm # Duplicate of ext/FileHandle/FileHandle.pm
rm -f os2/diff.MANIFEST # Obsolete (I applied a variant of it.)
rm -f os2/diff.init # Obsolete.
]
This is patch.2gamma to perl5.002 beta3.
This takes you from 5.002beta3 to 5.002gamma.
To apply this patch, run the above commands, then
cd to your perl source directory and then type
patch -p1 -N < patch.2gamma
The changes are described after each /^Index/ line below. This is
designed so you can examine each change with a command such as
csplit -k patch.2gamma '/^Index:/' '{99}'
(Of course since there are 116 items and most csplit's have an
arbitrary limit of 100 files, you'll probably have to manually split
this file first, but you get the idea. (GNU csplit doesn't have this
limitation. Nor does a perl solution, of course.))
Patch and enjoy,
Andy Dougherty doughera@lafcol.lafayette.edu
Dept. of Physics
Lafayette College, Easton PA 18042
|