27 years ago[inseparable changes from patch from perl-5.003_97d to perl-5.003_97e]
Perl 5 Porters [Mon, 14 Apr 1997 12:00:00 +0000]
[inseparable changes from patch from perl-5.003_97d to perl-5.003_97e]

 CORE LANGUAGE CHANGES

Subject: New operator: sysseek()
From: Chip Salzenberg <chip@perl.com>
Files: doio.c ext/Opcode/Makefile.PL ext/Opcode/Opcode.pm global.sym keywords.pl opcode.pl pod/perldelta.pod pod/perlfunc.pod pp_sys.c t/op/sysio.t toke.c

Subject: Allow recursive substitution again
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldelta.pod pod/perldiag.pod pp_hot.c

 CORE PORTABILITY

Subject: Use size_t for socket size parameters of GNU libc
From: Chip Salzenberg <chip@perl.com>
Files: doio.c pp_sys.c

Subject: Win32 update (four patches)
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: MANIFEST README.win32 dosish.h ext/SDBM_File/Makefile.PL ext/SDBM_File/sdbm/Makefile.PL ext/SDBM_File/sdbm/sdbm.c ext/SDBM_File/sdbm/sdbm.h lib/ExtUtils/MM_Unix.pm perl.c utils/perlbug.PL utils/perldoc.PL win32/Makefile win32/TEST win32/config.H win32/config.w32 win32/config_h.PL win32/config_sh.PL win32/perllib.c win32/runperl.c win32/win32.c win32/win32io.c win32/win32sck.c

 DOCUMENTATION

Subject: Add CGI to perldelta.pod and improve its description in MANIFEST
From: Chip Salzenberg <chip@perl.com>
Files: MANIFEST pod/perldelta.pod

Subject: Describe probs with majordomo 1.94.1
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldelta.pod

Subject: Fix description of /\G/g
From: Chip Salzenberg <chip@perl.com>
Files: pod/perlop.pod

Subject: Mention '...' operator in precedence table
Date: Sun, 13 Apr 1997 11:24:16 -0600
From: Tom Christiansen <tchrist@perl.com>
Files: pod/perlop.pod

    private-msgid: 199704131724.LAA23120@jhereg.perl.com

 OTHER CORE CHANGES

Subject: New API function: perl_eval_pv()
Date: Mon, 14 Apr 1997 17:13:41 -0400
From: Doug MacEachern <dougm@opengroup.org>
Files: perl.c pod/perlcall.pod pod/perldelta.pod pod/perlembed.pod pod/perlguts.pod proto.h

    private-msgid: 199704142113.RAA06823@postman.osf.org

Subject: Fix C< s//whatever/ >, which reuses old pattern
From: Chip Salzenberg <chip@perl.com>
Files: pp_hot.c regexec.c

27 years agoxsubpp incorrectly handles 'class::newthing()'
John Q. Linux [Sat, 12 Apr 1997 22:01:33 +0000]
xsubpp incorrectly handles 'class::newthing()'

private-msgid: 199704122201.PAA01780@jql.accessone.com

27 years agoClean up format of dlopen() debug info
Hallvard B Furuseth [Fri, 24 Jan 1997 15:29:00 +0000]
Clean up format of dlopen() debug info

27 years agoSys::Syslog: hyphens in hostnames
Jarkko Hietaniemi [Tue, 15 Apr 1997 14:21:53 +0000]
Sys::Syslog: hyphens in hostnames

Jerome Abela writes:
 >
 > In sub connect of Sys::Syslog, someone wrote:
 >         ($host) = $host_uniq =~ /(\w+)/;
 >
 > But, if the name contains a '-', it gets truncated. The RE should
 > rather be someting like [a-zA-Z0-9-]+, shouldn't it ?

p5p-msgid: 199704151421.RAA19693@alpha.hut.fi

27 years agoUser::pwent.pm: g{,e}cos
Tom Christiansen [Sun, 13 Apr 1997 01:35:54 +0000]
User::pwent.pm: g{,e}cos

private-msgid: 199704130135.TAA23274@jhereg.perl.com

27 years ago[dummy merge]
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoUpdate File::Path
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000]
Update File::Path

(this is the same change as commit 8a37cc0e712cfd90de4a433c1b9be391b72daf86, but as applied)

27 years agoUpdate File::Path
Andreas Koenig [Tue, 15 Apr 1997 14:01:07 +0000]
Update File::Path

>>>>> Chip Salzenberg writes:

 > According to Andreas Koenig:
>> I'd prefer to have consistent semantics on all platforms. My patch
>> treats the third parameter ($safe) in a way that matches the current
>> description in the pods better. This means, on all systems a chmod +rw
>> is tried before removing a file or directory unless the $safe
>> parameter is specified.

 > No, that's not useful.  UNIX systems pay *no* attention to the
 > permissions of "x" when unlinking "/y/x"; all that matter are the
 > permissions of "/y".

Ouch. Too-Quick-oh. <Blush>

Sure thing is, I want to chmod 777 always for _directories_ before I
remove them, because they may contain subdirectories that need to be
removed recursively. So I want them both read- and writeable. Stupid
thing was that I applied the same idea to files.

>> In addition File::Path becomes strict clean.

 > Well, that would be useful.  Could you separate that part of the patch
 > from the always-chmod part?

I redid it. This time with a test that fails with current perl and
works with my patch in place.

p5p-msgid: 199704151401.QAA02556@anna.in-berlin.de

27 years agodiagnostics: $/ gotcha
Andreas Koenig [Tue, 15 Apr 1997 18:14:01 +0000]
diagnostics: $/ gotcha

diagnostics does not localize $\ when it comes to printing.

p5p-msgid: 199704151814.UAA03404@anna.in-berlin.de

27 years agoDebugger update
Ilya Zakharevich [Mon, 14 Apr 1997 21:15:27 +0000]
Debugger update

private-msgid: 199704142115.RAA09923@monk.mps.ohio-state.edu

27 years agoRefresh CGI to 2.34
Chip Salzenberg [Tue, 15 Apr 1997 00:00:00 +0000]
Refresh CGI to 2.34

27 years agoUse '-fPIC' for debugging compiles under Solaris with gcc
Hallvard B Furuseth [Wed, 9 Apr 1997 00:00:00 +0000]
Use '-fPIC' for debugging compiles under Solaris with gcc

27 years agoPut extensions' autoload files in $archlib
Chip Salzenberg [Wed, 2 Apr 1997 21:49:53 +0000]
Put extensions' autoload files in $archlib

27 years agoFix comments in seed()
Hallvard B Furuseth [Mon, 14 Apr 1997 17:58:38 +0000]
Fix comments in seed()

private-msgid: 199704141758.TAA06895@bombur2.uio.no

27 years ago[dummy merge]
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoFix for environment leak
Chip Salzenberg [Mon, 14 Apr 1997 12:00:00 +0000]
Fix for environment leak

(this is the same change as commit 114695e977a20e0c66aa94b08414017d929a3f66, but as applied)

27 years agoFix for environment leak
Sven Verdoolaege [Tue, 15 Apr 1997 08:32:46 +0000]
Fix for environment leak

This patch fixes a leak in my_setenv.
I know this is close to the release of 5.004, but this is
relatively important for long running FastCGI programs.

I can prove the correctness :-)

p5p-msgid: 19970415103246.NN46698@breughel.ufsia.ac.be

27 years agoReturn a value from PerlIO_{,un}getc
Hallvard B Furuseth [Sun, 13 Apr 1997 12:28:14 +0000]
Return a value from PerlIO_{,un}getc

private-msgid: 199704131228.OAA05695@bombur2.uio.no

27 years agoFix STMT_{START,END} under g++
Steven Parkes [Mon, 14 Apr 1997 19:35:34 +0000]
Fix STMT_{START,END} under g++

Subject: perl.h with g++ (97b)

({}) is not allowed in C++, so the STMT_START selection macro should be
changed from
    # if defined(__GNUC__) && !defined(__STRICT_ANSI__)
to
    # if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__cplusplus)

p5p-msgid: 199704141935.MAA11240@monterey.sierravista.com

27 years ago[differences between cumulative patch application and perl-5.003_97d]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
[differences between cumulative patch application and perl-5.003_97d]

27 years ago[inseparable changes from match from perl-5.003_97c to perl-5.003_97d]
Perl 5 Porters [Wed, 9 Apr 1997 00:00:00 +0000]
[inseparable changes from match from perl-5.003_97c to perl-5.003_97d]

 DOCUMENTATION

Subject: more (err, less) doubled words
Date: Fri, 11 Apr 1997 22:31:25 +0300 (EET DST)
From: Jarkko Hietaniemi <Jarkko.Hietaniemi@cc.hut.fi>
Files: ext/DB_File/DB_File.pm ext/DynaLoader/DynaLoader.pm ext/IO/lib/IO/Pipe.pm lib/CGI.pm lib/Exporter.pm lib/ExtUtils/MakeMaker.pm lib/IPC/Open2.pm lib/IPC/Open3.pm lib/vars.pm pod/perlcall.pod pod/perldiag.pod pod/perlfaq1.pod pod/perlfaq3.pod pod/perlfaq5.pod pod/perlfaq7.pod pod/perlfaq8.pod pod/perlipc.pod

    private-msgid: 199704111931.WAA24460@alpha.hut.fi

 LIBRARY AND EXTENSIONS

Subject: win32: perl5db patch
Date: Thu, 10 Apr 1997 17:42:13 -0400
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: lib/perl5db.pl
Msg-ID: 199704102142.RAA27396@aatma.engin.umich.edu

    (applied based on p5p patch as commit 56cbacacb6c634a626b06407cbd555bc1519a2d5)

Subject: Enhancements to debugger, Term::ReadLine, Term::Cap
Date: Thu, 10 Apr 1997 15:48:07 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: lib/Term/Cap.pm lib/Term/ReadLine.pm lib/perl5db.pl
Msg-ID: 199704101948.PAA01841@monk.mps.ohio-state.edu

    (applied based on p5p patch as commit 6fb2d361298c4eb5d42f1f63b0f74a60d407e546)

 OTHER CORE CHANGES

Subject: New error msg for low-key failure of C<require>
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldiag.pod pp_ctl.c t/pragma/strict-subs t/pragma/strict-vars

27 years agoEnhancements to debugger, Term::ReadLine, Term::Cap
Ilya Zakharevich [Thu, 10 Apr 1997 19:48:07 +0000]
Enhancements to debugger, Term::ReadLine, Term::Cap

Chip wrote:
> I wonder if the public beta can be based on *this* one...

Pity I'm late.

This patch
1) Fixes Term::Cap which thought that absolute paths start
with '/';
2) Adds a new method `ornaments' to Term::ReadLine;
2a) Documents an old method `tkRunning' of Term::ReadLine;
3) Adds a new `O'ption to debugger: ornaments.  Possible
values are 0, 1, or comma-separated list of 4 terminal
capabilities to surround prompt and the command line.

Enjoy,

p5p-msgid: 1997Apr10.154825.1929433@hmivax.humgen.upenn.edu
private-msgid: 199704101948.PAA01841@monk.mps.ohio-state.edu

27 years agoLittle patch for perl5.003_97c/pod/perlpod.pod
Ralf S. Engelschall [Fri, 11 Apr 1997 20:48:37 +0000]
Little patch for perl5.003_97c/pod/perlpod.pod

private-msgid: 199704112048.WAA08733@en1.engelschall.com

27 years agowin32: perl5db patch
Gurusamy Sarathy [Thu, 10 Apr 1997 21:42:13 +0000]
win32: perl5db patch

The debugger doesn't work on win32 without this patch.
(You'd think C<-e> will work on pseudo devices like "CON",
but the _stat() in the C runtime doesn't cooperate).

p5p-msgid: 199704102142.RAA27396@aatma.engin.umich.edu

27 years ago[dummy merge]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoFreudian slip error in perlsub.pod
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
Freudian slip error in perlsub.pod

(this is the same change as commit b7a03ccba4c2b93b96002aca9f411649e099dcc0, but as applied)

27 years agoFreudian slip error in perlsub.pod
Bruce Barnett [Fri, 11 Apr 1997 17:55:07 +0000]
Freudian slip error in perlsub.pod

p5p-msgid: 199704111755.NAA27200@grymoire.crd.ge.com

27 years agoExplain //g and \G issues
Gurusamy Sarathy [Sat, 12 Apr 1997 20:48:41 +0000]
Explain //g and \G issues

private-msgid: 199704122048.QAA25060@aatma.engin.umich.edu

27 years agoUse B<> for options in Class::Struct pod
Hugo van der Sanden [Thu, 10 Apr 1997 18:16:27 +0000]
Use B<> for options in Class::Struct pod

Solaris 2.5.1, all clean except in `make install`:
  ../perl -I ../lib ../pod/pod2man --section=3 --official
Class/Struct.pm > /usr/local/lib/perl5/man/man3/Class::Struct.tmp
../pod/pod2man: bad option in paragraph 57 of Class/Struct.pm: ``-w''
should be [CB]<-w>

Patch enclosed. Here are the test results:
All tests successful.
u=0.56  s=0.5  cu=30.51  cs=16.6  scripts=148  tests=4059

p5p-msgid: 334D2E7B.67F0@iii.co.uk

27 years agotypo in lib/diagnostics.pm
Bruce Barnett [Fri, 11 Apr 1997 18:00:54 +0000]
typo in lib/diagnostics.pm

p5p-msgid: 199704111800.OAA27297@grymoire.crd.ge.com

27 years agoAdd B<-o> option to a2p, for old awk; make new the default
Chip Salzenberg [Thu, 6 Mar 1997 15:48:20 +0000]
Add B<-o> option to a2p, for old awk; make new the default

27 years agoFix undef warning in Math::BigInt
Chip Salzenberg [Tue, 19 Nov 1996 00:07:25 +0000]
Fix undef warning in Math::BigInt

27 years agoComplex update (five patches)
Jarkko Hietaniemi [Wed, 9 Apr 1997 00:00:00 +0000]
Complex update (five patches)

27 years ago[dummy merge]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoMM_Unix patch for use under CVS
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
MM_Unix patch for use under CVS

(this is the same change as commit d3e8569c62819ccd17f9de64244d9bd181aa37b6, but as applied)

27 years agoMM_Unix patch for use under CVS
Ulrich Pfeifer [Fri, 11 Apr 1997 12:59:00 +0000]
MM_Unix patch for use under CVS

Subject: Re: MM_Unix patch

>>>>> "Nick" == Nick Ing-Simmons <nik@tiuk.ti.com> writes:

    Nick> Seems a little strong did you mean /^\.#/ ?

No. Every '#' in a Makefile file list will break the list:

Makefile
 ,-----
 | FILES = foo \
 |         bar#bazz \
 |         bizz
 |
 | all:
 |  @echo $(FILES)
 `-----
Shell
 ,-----
 | % make -f ~/tmp/Makefile
 | foo bar
 `-----

Below is a more complete patch.

p5p-msgid: yfmd8s1vhpn.fsf@ls6.informatik.uni-dortmund.de

27 years agoMinor type cleanup
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
Minor type cleanup

27 years agoPut "dXSUB_SYS" last in declarations
Chip Salzenberg [Fri, 21 Mar 1997 02:50:39 +0000]
Put "dXSUB_SYS" last in declarations

27 years agoBefore 'BEGIN not safe', explain why
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
Before 'BEGIN not safe', explain why

27 years agoupdate to 5.003_97b/hint/irix_6_2.sh
Scott Henry [Sat, 12 Apr 1997 01:05:03 +0000]
update to 5.003_97b/hint/irix_6_2.sh

It is possible with the 7.1 compilers for IRIX-6.2 and later to
change the default compiler options for the system.  You need to
explicitely select the compiler options in the hints file to avoid
mix-n-match ABI problems.  I also added some additional commentary...
Patch against 5.003_97b follows:

p5p-msgid: yd8hghdjbk0.fsf@hoshi.engr.sgi.com

27 years agoFix label on C<for(;;)> statement
Chip Salzenberg [Thu, 6 Mar 1997 15:46:36 +0000]
Fix label on C<for(;;)> statement

27 years agoFix C< $x=''; pos($x)=0; $x=~/\G$/ >
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000]
Fix C< $x=''; pos($x)=0; $x=~/\G$/ >

27 years ago[dummy merge]
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoFix for incorrect overloaded assignment
Chip Salzenberg [Wed, 9 Apr 1997 00:00:00 +0000]
Fix for incorrect overloaded assignment

(this is the same change as commit 9de372454b482d4516b3f3c85b686af8cb18d211, but as applied)

27 years agoFix for incorrect overloaded assignment
Ilya Zakharevich [Fri, 11 Apr 1997 22:25:33 +0000]
Fix for incorrect overloaded assignment

Subject: Re: overloading problem

Jarkko Hietaniemi writes:
>
>
> Please proofread for me. Isn't what Chris is trying to do
>
>  to get overloading to promote the unblessed scalar $c
>  containing '2' to a Math::Complex blessed object?
>
> Please correct me if I am wrong but isn't this impossible?
>
> As there are only three possibilities for binops: normally ordered
> arguments, inverted arguments, modifying binop: the overloading will
> swap the honest Math::Complex $z as the first argument _and_ pass the
> third argument to minus() as undef (perldoc overload) and therefore
>
>  a) the value of the result will be $z - $c, not $c - $z
>  b) minus() will modify $z, not $c
>
> I may just too sleepy...

Looks like an overeager optimization... Try this:

p5p-msgid: 199704112225.SAA03482@monk.mps.ohio-state.edu

27 years ago[differences between cumulative patch application and perl-5.003_97c]
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000]
[differences between cumulative patch application and perl-5.003_97c]

27 years ago[inseparable changes from match from perl-5.003_97b to perl-5.003_97c]
Perl 5 Porters [Mon, 7 Apr 1997 00:00:00 +0000]
[inseparable changes from match from perl-5.003_97b to perl-5.003_97c]

 BUILD PROCESS

Subject: Fix syntax error in Configure comment(!)
From: Chip Salzenberg <chip@perl.com>
Files: Configure

Subject: For Solaris, if -DDEBUGGING, default to '-KPIC', not '-Kpic'
From: Chip Salzenberg <chip@perl.com>
Files: Configure

Subject: Fix usage of dXSUB_SYS, esp. in ExtUtils::Miniperl
From: Chip Salzenberg <chip@perl.com>
Files: dosish.h minimod.pl os2/os2ish.h plan9/plan9ish.h vms/vmsish.h

 CORE LANGUAGE CHANGES

Subject: Refine setgroups() behavior of C<$)>
From: Chip Salzenberg <chip@perl.com>
Files: mg.c pod/perldelta.pod pod/perlvar.pod

Subject: Forbid -[Mm] on #! line
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldelta.pod pod/perldiag.pod toke.c

 CORE PORTABILITY

Subject: Special mkdir() for VMS
Date: Tue, 08 Apr 1997 12:33:56 -0400 (EDT)
From: Charles Bailey <bailey@hmivax.humgen.upenn.edu>
Files: dosish.h lib/ExtUtils/MM_Unix.pm lib/File/Path.pm os2/os2ish.h plan9/plan9ish.h pp_sys.c unixish.h vms/vms.c vms/vmsish.h
Msg-ID: 01IHGOXN6MZM0004K3@hmivax.humgen.upenn.edu

    (applied based on p5p patch as commit ebec1d4b2ca9c08d24035a369c7aa782aa058e66)

 DOCUMENTATION

Subject: IO::Socket doc fix
Date: Tue, 08 Apr 1997 15:30:43 -0400
From: Roderick Schertler <roderick@argon.org>
Files: ext/IO/lib/IO/Socket.pm
Msg-ID: 28383.860527843@eeyore.ibcinc.com

    (applied based on p5p patch as commit 4a51304ce091cb6d1ccc9f25e11753bd7d985b32)

 LIBRARY AND EXTENSIONS

Subject: Replace Class::Template with improved Class::Struct
From: Jim Miner <jfm@winternet.com>
Files: MANIFEST lib/Class/Struct.pm lib/Class/Template.pm lib/File/stat.pm lib/Net/hostent.pm lib/Net/netent.pm lib/Net/protoent.pm lib/Net/servent.pm lib/Time/gmtime.pm lib/Time/localtime.pm lib/Time/tm.pm lib/User/grent.pm lib/User/pwent.pm pod/perldelta.pod pod/perlfaq7.pod pod/perlmod.pod pod/perltoot.pod

Subject: MakeMaker pathname patch
Date: Wed, 9 Apr 1997 20:08:23 +0100
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Files: lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MakeMaker.pm
Msg-ID: 199704091908.UAA00877@ni-s.u-net.com

    (applied based on p5p patch as commit 9cbbd68ff8edc7de96e3471de49538d0b2b98173)

Subject: Fix configuration of new socket
From: Chip Salzenberg <chip@perl.com>
Files: ext/IO/lib/IO/Socket.pm

27 years agoSpecial mkdir() for VMS
Charles Bailey [Tue, 8 Apr 1997 16:33:56 +0000]
Special mkdir() for VMS

Subject: Re: Make failures in perl5.003_96 on AXP/VMS 6.2

Henrik Tougaard <ht.000@foa.dk> wrote:
>
> When I try to build Perl 5.003_96 on my AXP:
>   DEC C V5.3-006 on OpenVMS Alpha V6.2-1H3
>
> I get the following error:

. . .

>   Writing Descrip.MMS for Fcntl
>   MMS
>   %MMS-F-GWKNOPRN, There are no known sources for the current target
>     [--.LIB].EXISTS.
>   %MMS-F-ABORT, For target [.LIB]FCNTL.PM, CLI returned abort status:
>     %X10EE8064.

That's a bug introduced with the win32 support in _94 -- it assumes
dirname($dir) will return the name of $dir's parent, not $dir itself.
I've appended a fix for that, and for a problem with the DECCRTL
mkdir() (doesn't like trailing '/') that gets me to a clean build
for _94.  complex.t fails -- runs out of memory after sucking down
around 70 MB, but I don't know whether it's a Perl bug or just
a pathological test.

I haven't got beyond _94 yet -- I've been swamped for the past couple
weeks, and it's going to get worse before it gets better :-/ -- but
I'll try to pick up the newer patches and test them as soon as I
can.  In the meantime, reports from other folks, doc updates (especially
for the installation instructions), etc. are most welcome. :-)

p5p-msgid: 01IHGOXN6MZM0004K3@hmivax.humgen.upenn.edu

27 years agoIO::Socket doc fix
Roderick Schertler [Tue, 8 Apr 1997 19:30:43 +0000]
IO::Socket doc fix

p5p-msgid: 28383.860527843@eeyore.ibcinc.com

27 years ago[dummy merge]
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoMakeMaker pathname patch
Nick Ing-Simmons [Wed, 9 Apr 1997 19:08:23 +0000]
MakeMaker pathname patch

Chip Salzenberg <chip@pobox.com> writes:

Can we have this please - it passes EXE_EXT to Makefile.

p5p-msgid: 199704091908.UAA00877@ni-s.u-net.com

27 years agoAccommodate CodeBuilder variant of Machten 4.0.3
Chip Salzenberg [Mon, 7 Apr 1997 00:00:00 +0000]
Accommodate CodeBuilder variant of Machten 4.0.3

(this is the same change as commit f56dede6f0d67b2435681a318bccb04d4f017fbd, but as applied)

27 years agoAccommodate CodeBuilder variant of Machten 4.0.3
Dominic Dunlop [Tue, 8 Apr 1997 20:15:15 +0000]
Accommodate CodeBuilder variant of Machten 4.0.3

The following patch against _97b massages a couple of test files so that
CodeBuilder 1.0, a derivative of MachTen 4.0.3, passes all tests (except
lib/db-recno, due to an old DB library). The patch does three things:

1. Make op/stat.t test 35 look in /usr/bin for SUID files iff $^O has value
   'machten'.  (PowerBuilder has /bin directory, but it contains no SUID
   files.  Perl5 porters with reasonable memories may remember that the test
   got retargetted at /bin only in January.  Sigh.  A better fix than this
   quick hack is really required.)

2. Make op/stat.t test 39 check for value of $^O, succeeding if it's 'machten'.
   (PowerBuilder and other MachTen variants lack /MachTen directory, but
   all have a uname which says they're 'machten'.)

3. Amend io/fs.t test 25 so that it tests whether truncate can reduce the
   length of a file attached to a filehandle, mirroring test 23's check of
   whether truncate can reduce the length of a named file, rather than testing
   whether truncate can extend an empty file attched to a filehandle.  (See
   discussion below.)

NOTE IN PARTICULAR POINT 3: CodeBuilder is distinguished from MachTen 4.0.3
in supporting a true Berkeley Fast File System as an alternative to MacOS'
incredibly slow Heirarchical File System.  CodeBuilder's FFS code is
derived from 4.3BSD, and does not allow truncate() to extend a file's size.
The HFS code is derived from 4.4BSD, and does allow such extension.  (The
man page for truncate(2) has not, as far as I can tell, changed in a long
time, and has reather slippery wording: it's not clear whether extension is
allowed, and the system errors one might expect for failed extension --
ENOSPC and others -- are not mentioned.)  Looking at the io/fs.t, it seems
that a typo may have turned a check that the length of a file attached to a
handle can be reduced into a check that it can be extended.  The patch
"fixes" the test to check for length reduction.  If, on the other hand, it
should indeed be a test of extension (which, presumably, every other system
that supports truncate() passes) then io/fs.t should not be patched, and
CodeBuilder 1.0 pronounced buggy.

p5p-msgid: v03020902af704d320f27@[194.51.248.88]

27 years agoFix typos in Math::Trig
Jarkko Hietaniemi [Mon, 7 Apr 1997 00:00:00 +0000]
Fix typos in Math::Trig

27 years agoComplex.pm: 0**0 sanity
Jarkko Hietaniemi [Wed, 9 Apr 1997 18:04:23 +0000]
Complex.pm: 0**0 sanity

private-msgid: 199704091804.VAA13930@alpha.hut.fi

27 years agoImprove IO::Handle docs; don't export _open_mode_string
Chip Salzenberg [Wed, 5 Mar 1997 19:48:16 +0000]
Improve IO::Handle docs; don't export _open_mode_string

27 years agoFix assignment from magic SV that becomes a glob
Chip Salzenberg [Mon, 24 Mar 1997 15:51:51 +0000]
Fix assignment from magic SV that becomes a glob

27 years agoFix dynamic loading (and argv[0]) under AmigaOS
Norbert Pueschel [Tue, 8 Apr 1997 20:01:45 +0000]
Fix dynamic loading (and argv[0]) under AmigaOS

private-msgid: 77724842@Armageddon.meb.uni-bonn.de

27 years ago[differences between cumulative patch application and perl-5.003_97b]
Chip Salzenberg [Fri, 4 Apr 1997 00:00:00 +0000]
[differences between cumulative patch application and perl-5.003_97b]

27 years ago[inseparable changes from match from perl-5.003_97a to perl-5.003_97b]
Perl 5 Porters [Fri, 4 Apr 1997 00:00:00 +0000]
[inseparable changes from match from perl-5.003_97a to perl-5.003_97b]

 BUILD PROCESS

Subject: Don't suggest 'Configure -der' in config.sh comments
From: Chip Salzenberg <chip@perl.com>
Files: Configure

 CORE LANGUAGE CHANGES

Subject: Make assignment to C<$)> call setgroups()
From: Chip Salzenberg <chip@perl.com>
Files: Configure config_H config_h.SH mg.c plan9/config.plan9 pod/perldelta.pod vms/config.vms win32/config.H win32/config.w32

Subject: Grandfather "$$<digit>" in strings
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldiag.pod toke.c

Subject: Disconnect warn and die hooks _after_ object destruction
From: Chip Salzenberg <chip@perl.com>
Files: perl.c

Subject: Forbid recursive substitutions
From: Chip Salzenberg <chip@perl.com>
Files: cop.h pod/perldelta.pod pod/perldiag.pod pp_ctl.c pp_hot.c

 DOCUMENTATION

Subject: Document required module versions
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldelta.pod

 LIBRARY AND EXTENSIONS

Subject: Updates to Math::Complex and Math::Trig
From: Jarkko Hietaniemi <Jarkko.Hietaniemi@cc.hut.fi>
Files: lib/Math/Complex.pm lib/Math/Trig.pm pod/perldelta.pod t/lib/complex.t

 OTHER CORE CHANGES

Subject: length($') isn't
Date: Mon, 07 Apr 1997 03:30:44 -0400
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: mg.c
Msg-ID: 199704070730.DAA07310@aatma.engin.umich.edu

    (applied based on p5p patch as commit 645a7cbb1f14932f058231f0a4f808b88ebe8703)

Subject: Fix obscure regex bug related to leading C<.*>
From: Chip Salzenberg <chip@perl.com>
Files: toke.c

Subject: Add warning for glob failure
From: Chip Salzenberg <chip@perl.com>
Files: pod/perldelta.pod pod/perldiag.pod pp_hot.c

Subject: Fix C<perl -V> in presence of local patches
From: Chip Salzenberg <chip@perl.com>
Files: perl.c

27 years agolength($') isn't
Gurusamy Sarathy [Mon, 7 Apr 1997 07:30:44 +0000]
length($') isn't

"foo" =~ /^./; print length $';
     __END__
     i

An ev0l typo that crept in via the 317th subversion. :-)

p5p-msgid: 199704070730.DAA07310@aatma.engin.umich.edu

27 years agoMake L<perltrap> refer to L<perldelta>
Chip Salzenberg [Tue, 1 Apr 1997 20:54:23 +0000]
Make L<perltrap> refer to L<perldelta>

27 years agoDocument sample function perl_eval()
Doug MacEachern [Sat, 5 Apr 1997 15:24:43 +0000]
Document sample function perl_eval()

Tim, your comments have changed perl_eval() from a quick & dirty
example to something I'd like to see part of the Perl API, maybe
called perl_eval_pv though.

p5p-msgid: 199704051524.KAA06090@postman.osf.org

27 years agoPatch for 'perldoc -f'
Gisle Aas [Sun, 6 Apr 1997 17:32:04 +0000]
Patch for 'perldoc -f'

private-msgid: 199704061732.TAA00353@bergen.sn.no

27 years agoFix FindBin under Win32, and document success
Nick Ing-Simmons [Sat, 5 Apr 1997 15:04:52 +0000]
Fix FindBin under Win32, and document success

private-msgid: 199704051504.QAA09507@ni-s.u-net.com
Signed-off-by: Nick Ing-Simmons <nik@tiuk.ti.com>

27 years ago[dummy merge]
Chip Salzenberg [Fri, 4 Apr 1997 00:00:00 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoCGI->redirect patch
Chip Salzenberg [Fri, 4 Apr 1997 00:00:00 +0000]
CGI->redirect patch

(this is the same change as commit a3ec56f7f3704c7c711a382a2e558eb572cef265, but as applied)

27 years agoCGI->redirect patch
Doug MacEachern [Sat, 5 Apr 1997 15:27:52 +0000]
CGI->redirect patch

Mike Stok <mike@stok.co.uk> wrote:

> I am having an odd problem with a redirect using apacha & mod perl.
>
> #!/usr/local/register/bin/perl -w
>
> use CGI::Switch;
>
> my $q = new CGI::Switch;
>
> $q->print ($q->redirect (-uri => 'http://vrooom.nis.newscorp.com:8008/',
>                          -nph => 1));
>
> as a "regular" cgi script works OK, but under mod_perl gets a "document
> contains no data" error out of the browser.  When under mod_perl I have
> the code in .../register/code/boing ans the httpd.conf file says
[...]
> Is there some simple mistake I'm making?  I'm using perl 5.003_95 and
> mod_perl 0.95_02 with apache 1.2b7 ... changing the versions fills me with
> terror as I'm < 24 hours away from a product roll out and the code works
> OK as CGI.

nuts, I should have done something about this a while ago.  See, CGI
reads your scripts output, scanning headers and such.  mod_perl does
not.  This patch should makes things behave as expected.

p5p-msgid: 199704041732.MAA05896@postman.osf.org
private-msgid: 199704051527.KAA11280@postman.osf.org

27 years agoperlwin-97a_4: win32 environ fix
Gurusamy Sarathy [Sun, 6 Apr 1997 04:31:11 +0000]
perlwin-97a_4: win32 environ fix

private-msgid: 199704060431.XAA23400@aatma.engin.umich.edu

27 years agoUse SSize_t for values of PerlIO_{read,write}
Chip Salzenberg [Fri, 4 Apr 1997 00:00:00 +0000]
Use SSize_t for values of PerlIO_{read,write}

27 years ago[differences between cumulative patch application and perl-5.003_97a]
Chip Salzenberg [Wed, 2 Apr 1997 22:03:25 +0000]
[differences between cumulative patch application and perl-5.003_97a]

27 years ago[inseparable changes from match from perl-5.003_97 to perl-5.003_97a]
Perl 5 Porters [Wed, 2 Apr 1997 22:03:25 +0000]
[inseparable changes from match from perl-5.003_97 to perl-5.003_97a]

 CORE PORTABILITY

Subject: Add support for Cygwin32 (GNU-Win32) -- very low impact
Date: Thu, 3 Apr 1997 09:21:17 +0100
From: John Cerney <j-cerney1@ti.com>
Files: MANIFEST README.cygwin32 cygwin32/cw32imp.h cygwin32/gcc2 cygwin32/ld2 cygwin32/perlgcc cygwin32/perlld ext/DynaLoader/dl_cygwin32.xs hints/cygwin32.sh perl.h pp_sys.c
Msg-ID: 199704030821.JAA08762@pluto.tiuk.ti.com

    (applied based on p5p patch as commit 2a079e0090406b1b2e50643540f149206c9e9de8)

Subject: Win32 update (six patches)
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: MANIFEST README.win32 dosish.h t/io/fs.t t/io/tell.t t/lib/io_tell.t t/op/magic.t t/op/mkdir.t t/op/runlevel.t t/op/stat.t t/op/taint.t win32/Makefile win32/VC-2.0/pod.mak win32/makedef.pl win32/pod.mak win32/win32.c win32/win32.h win32/win32io.c win32/win32io.h win32/win32iop.h

 LIBRARY AND EXTENSIONS

Subject: Math::Trig, based on (and from an author of) Math::Complex
From: Chip Salzenberg <chip@perl.com>
Files: MANIFEST lib/Math/Complex.pm lib/Math/Trig.pm pod/perldelta.pod t/lib/complex.t t/lib/trig.t

 OTHER CORE CHANGES

Subject: Fix const-sub-related panic on C<sub foo { my $x; 0 } foo>
From: Chip Salzenberg <chip@perl.com>
Files: op.c

Subject: Fix warning for useless C<1..2>
From: Chip Salzenberg <chip@perl.com>
Files: op.c

Subject: Minor cleanups
Date: Thu, 03 Apr 1997 19:56:57 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: mg.c mg.h perl.c
Msg-ID: 199704040056.TAA22253@aatma.engin.umich.edu

    (applied based on p5p patch as commit 609794497049cf42bdd2396c04cbb7728e10374d)

Subject: Eliminate unreliable warning with %SIG and strict refs
From: Chip Salzenberg <chip@perl.com>
Files: mg.c

Subject: Fix impossible test in vivification
From: Chip Salzenberg <chip@perl.com>
Files: mg.c

27 years agoPatch to Build Dynamic-Lib (DLL) version of perl using gnuwin32 b17.1
John Cerney [Thu, 3 Apr 1997 08:21:17 +0000]
Patch to Build Dynamic-Lib (DLL) version of perl using gnuwin32 b17.1

I have successfully built a dynamic-lib (dll) version of perl version 5.003_94
using the gnuwin32 tools on windows 95 and windows NT 3.51. This port builds
all extension libs for perl as DLLs.

A patch is attached to this message.

Detailed Instructions:

The following assumes you have the gnuwin32 (version b17.1) package installed
and configured on your system. See http://www.cygnus.com/misc/gnu-win32/ for
details on the gnuwin32 package.

1) Obtain perl5.003_94 (from www.perl.com or CPAN) and extract
     to a directory on your system.

2) cd to the path where perl5.003_94 is installed. e.g, if you
   installed to /perl5.003_94, then cd to /perl5.003_94.

3) Apply this patch:
patch -p1 < dllpatch

  Note: If you have problems with the patch that comes with
     the gnuwin32 package, (I have had problems getting it to apply
     multiple patches in a single file) try the patch located
     at http://www.simtel.net/pub/simtelnet/win95/prog/gpatch2b.zip.
     Also, the files pp_sys.c and perl.h that the patch modifies must
     be in unix format. If your extraction utility (like winzip) converts
     to dos format, change the format of these files back before applying
     the patch.
5) Modify the ld2 script
   Change the PERLPATH variable to the location you extracted perl.
    for example, if you extracted perl to /perl5.003_94, change so
    the line looks like:
PERLPATH=/perl5.003_94

4) Copy the two scripts ld2, and gcc2 to a directory in your PATH
   environment variable. For example, copy to /bin, assuming /bin is
   in your PATH. (These two scripts ld2 and gcc2 are 'wrapper' scripts
   that encapsulate the multiple-pass dll building steps used by gnuwin32
ld/gcc.)

5) Run the perl Configuration script as stated in the perl README file;
e.g.
sh Configure
   select gnuwin32 at this prompt:
   First time through, eh?  I have some defaults handy for the following
systems:
   .
   .
   .
   Which of these apply, if any?

   The defaults should be OK for everything else, except for the specific
pathnames for
   the gnuwin32 libs, include files, installation dirs, etc on your system.

   Note:
   On windows 95, the configuration script only stops every other time
    for responses from the command line. In this case you can manually edit
    the gnuwin32.sh hint file for your paths, copy hints/gnuwin32.sh to
config.sh,
    and run Configure non-interactively using sh Configure -d.

6) Do a make, as stated in the perl README file

7) Do a make test. Some test will fail, but you should get around a
83% OK result. (Most failures seem to be due to unix'ism that
        don't apply for win32.)

8) Do a make install. This will fail about 1/2 of the way thru. It appears
that perl can't find itself when it forks because it cd's to another
        directory during the install process. You get around this by invoking
        the install script using a full pathname for perl. For example, if
perl is extracted to perl5.003_94, do a
'/perl5.003_94/perl installperl'. This should complete the install
        process.

p5p-msgid: 199704030821.JAA08762@pluto.tiuk.ti.com

27 years agoMinor cleanups
Gurusamy Sarathy [Fri, 4 Apr 1997 00:56:57 +0000]
Minor cleanups

This patch straightens out some code that used to be crooked,
avoids redundant SV allocs/frees, and makes a macro more
consistent.  Nothing critical here.

The changes in ENV_FETCH code are untested, so vox VMS populi
invited.

p5p-msgid: 199704040056.TAA22253@aatma.engin.umich.edu

27 years agoPod style
Nathan Torkington [Wed, 2 Apr 1997 20:34:15 +0000]
Pod style

27 years agoUpdate INSTALL
Andy Dougherty [Sat, 29 Mar 1997 23:44:30 +0000]
Update INSTALL

27 years agoMake *dbm tests work with Win32
Chip Salzenberg [Mon, 24 Feb 1997 15:24:03 +0000]
Make *dbm tests work with Win32

27 years agoDon't use $4 when it might be undef
Chip Salzenberg [Tue, 18 Oct 1994 16:35:28 +0000]
Don't use $4 when it might be undef

27 years agoLimit @ISA to actual DBM in AnyDBM
Chip Salzenberg [Thu, 5 Sep 1996 21:14:21 +0000]
Limit @ISA to actual DBM in AnyDBM

27 years ago[dummy merge]
Chip Salzenberg [Wed, 2 Apr 1997 22:03:25 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoCPAN & TRL-Gnu
Chip Salzenberg [Wed, 2 Apr 1997 22:03:25 +0000]
CPAN & TRL-Gnu

(this is the same change as commit 8fe3829d7944eb627ee5360e65ca8f7afe76886d, but as applied)

27 years agoCPAN & TRL-Gnu
Achim Bohnet [Fri, 4 Apr 1997 08:09:03 +0000]
CPAN & TRL-Gnu

p5p-msgid: 9704040809.AA26143@o09.rosat.mpe-garching.mpg.de

27 years agoUpdate AutoLoader and docs; support C<use AutoLoader 'AUTOLOAD'>
Chip Salzenberg [Fri, 29 Nov 1996 16:14:12 +0000]
Update AutoLoader and docs; support C<use AutoLoader 'AUTOLOAD'>
Signed-off-by: Chip Salzenberg <chip@perl.com>

27 years agoRe: shared lib compilation problem with miniperl5.003_97
Andy Dougherty [Fri, 4 Apr 1997 18:02:23 +0000]
Re: shared lib compilation problem with miniperl5.003_97

On Fri, 4 Apr 1997, Chip Salzenberg wrote:

> According to Olaf Seibert:
> > In this report I am using the shared perl library, libperl.so.3.97.
> >
> > When building miniperl, it is linked with libperl.so.3.97 instead of
> > -lperl. This slightly confuses NetBSD's shared loader. When miniperl
> > is run from a directory where libperl.so.3.97 is not present, it
> > will fail to start.
> >
> > Fix: I think this should do it: Change in the Makefile
> >    LLIBPERL= $(LIBPERL)
> > to
> >    LLIBPERL= -lperl
>
> Porters?  I'm a bit out of my depth with this, since I'm not sure
> of what's portable with dynamic loading and what isn't.

My paranoid fear is the following:  Suppose you already have
perl5.003_97 installed somewhere and it has a corresponding
libperl.so.3.97 installed in the appropriate directory.  Now suppose
you're rebuiding perl5.003_97 (e.g. to test a patch or whatever) and
your new ./perl is linked with the moral equivalent of

LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
cc -o perl -R $archlib -lperl [...]

Now, when you're down in the t/ library running your tests, and miniperl
gets called, which libperl.so.3.97 do you get -- the new one found via
LD_LIBRARY_PATH or the old one found via the -R directive?

(This is very similar to the shared libperl/debugging problem discussed in
the INSTALL file.)

I don't think any solution is bulletproof.  I suspect that the suggested
change probably won't make matters any worse, but I'm wary at this stage
(gee, that's a suprise from me:-)

Instead, I think the following should probably be safe:

p5p-msgid: Pine.SOL.3.95q.970404124326.647K-100000@fractal.lafayette.edu
private-msgid: Pine.SOL.3.95q.970404124326.647K-100000@fractal.lafayette.ed

27 years agorunlevel is I32, not int
Roderick Schertler [Thu, 3 Apr 1997 23:23:43 +0000]
runlevel is I32, not int

p5p-msgid: 2848.860109823@eeyore.ibcinc.com

27 years agoAmigaOS update
Norbert Pueschel [Thu, 3 Apr 1997 14:16:51 +0000]
AmigaOS update

private-msgid: 77724828@Armageddon.meb.uni-bonn.de

27 years agoFix AUTOLOAD, or kill me
Chip Salzenberg [Wed, 2 Apr 1997 22:03:18 +0000]
Fix AUTOLOAD, or kill me

27 years ago[differences between cumulative patch application and perl-5.003_97]
Chip Salzenberg [Tue, 1 Apr 1997 00:01:35 +0000]
[differences between cumulative patch application and perl-5.003_97]

27 years ago[inseparable changes from match from perl-5.003_96 to perl-5.003_97]
Perl 5 Porters [Tue, 1 Apr 1997 00:01:35 +0000]
[inseparable changes from match from perl-5.003_96 to perl-5.003_97]

 CORE LANGUAGE CHANGES

Subject: Reenable but deprecate inherited AUTOLOAD for plain funcs
From: Chip Salzenberg <chip@perl.com>
Files: ext/DynaLoader/DynaLoader.pm gv.c lib/Text/ParseWords.pm pod/perldelta.pod pod/perldiag.pod t/op/method.t

 CORE PORTABILITY

Subject: Win32 update
Date: Wed, 02 Apr 1997 01:08:09 -0500
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: win32/VC-2.0/modules.mak win32/VC-2.0/perl.mak win32/VC- 2.0/perldll.mak win32/perl.mak
Msg-ID: 199704020608.BAA29538@aatma.engin.umich.edu

    (applied based on p5p patch as commit 8d0ff1118aaee510902477e928a660803304346c)

 DOCUMENTATION

Subject: Clean up some poddities, and make C<make html> work again
From: Chip Salzenberg <chip@perl.com>
Files: pod/Makefile pod/perldelta.pod pod/perldiag.pod pod/perlfaq8.pod pod/perlfunc.pod pod/perlop.pod pod/perltrap.pod

Subject: Eliminate pod warnings in libs
From: Chip Salzenberg <chip@perl.com>
Files: lib/CGI.pm lib/ExtUtils/Command.pm

 LIBRARY AND EXTENSIONS

Subject: Eliminate warning in CGI.pm
From: Chip Salzenberg <chip@perl.com>
Files: lib/CGI.pm

 OTHER CORE CHANGES

Subject: Introduce and use gv_fetchmethod_autoload()
From: Chip Salzenberg <chip@perl.com>
Files: global.sym gv.c pod/perlguts.pod proto.h universal.c

27 years agoWin32 update
Gurusamy Sarathy [Wed, 2 Apr 1997 06:08:09 +0000]
Win32 update

The win32 make fails because it cannot find "camel.ico".

Even if I add a camel.ico stolen from elsewhere, the build
fails due to lack of "resource.h" referenced in "perl.rc"
(when using VC++ 2.0).

The following patch simply disables binding the icon resource
into perl.exe.  (One can always associate a bare *.ico file
to any executable, so it's not like it *has* to be bound
into perl.exe when building it.)

p5p-msgid: 199704020608.BAA29538@aatma.engin.umich.edu

27 years ago[dummy merge]
Chip Salzenberg [Tue, 1 Apr 1997 00:01:35 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoFix MM doc's use of "SUPER::"
Chip Salzenberg [Tue, 1 Apr 1997 00:01:35 +0000]
Fix MM doc's use of "SUPER::"

(this is the same change as commit acce7d4e04d89207299003c3e80c69d50bc82069, but as applied)

27 years agoFix MM doc's use of "SUPER::"
Jim Avera [Tue, 1 Apr 1997 22:35:26 +0000]
Fix MM doc's use of "SUPER::"

Chip Salzenberg <chip@atlantic.net> wrote:
] According to Jim Avera:
] > Was there any resolution of the problem using SUPER:: with MakeMaker?
]
] Yes.  Don't say "sub MY::foo {}"; say "package MY; sub foo {}".
] The current package is important for proper operation of SUPER::.

Thanks for your help.  I appreciate it.
Here is a patch to fix the documentation (in 5.003_95).

p5p-msgid: 9704012235.AA07841@membrane.hal.com

27 years agoImprove heuristics for pod2man titles
Roderick Schertler [Wed, 2 Apr 1997 04:41:55 +0000]
Improve heuristics for pod2man titles

Subject: Re: Strange headers from perldoc

On Mon, 31 Mar 1997 16:02:59 +0100, "M.J.T. Guy" <mjtg@cus.cam.ac.uk> said:
>
> When I go  "perldoc CPAN" (in perl5.003_94 as it happens), the header
> lines come out as
>
> ::home::mjtg::pUser Contr::home::mjtg::perl5.003_94::lib::CPAN(3)

Here's a fix for that.  It's just more heuristics, so it isn't perfect.

In a related vein, this still leaves

    Getopt::Long(3pUser Contributed Perl DocumentatiGetopt::Long(3pm)

in the page header on my system.  "User Contributed Perl Documentation"
is just too long.  Would anybody mind replacing this with something
shorter?  Say

    Getopt::Long(3pm)         User Perl Docs        Getopt::Long(3pm)

or

    Getopt::Long(3pm)      Wankel Rotary Engine     Getopt::Long(3pm)

or even

    Getopt::Long(3pm)                               Getopt::Long(3pm)

I'm partial the last of these, myself, but I'd be happy with anything
less than about 20 characters.  Patch happily supplied if nobody
objects.

p5p-msgid: pzn2ri9gto.fsf@eeyore.ibcinc.com

27 years ago[dummy merge]
Chip Salzenberg [Tue, 1 Apr 1997 00:01:35 +0000]
[dummy merge]

This merge exists so that the p5p version of the patch and the applied
version are both in the history

27 years agoDocument eval vs. sub in Benchmark
Chip Salzenberg [Tue, 1 Apr 1997 00:01:35 +0000]
Document eval vs. sub in Benchmark

(this is the same change as commit 446534a1e286d6fde0fd79424865d3cf1291546b, but as applied)

27 years agoDocument eval vs. sub in Benchmark
Hugo van der Sanden [Tue, 1 Apr 1997 22:31:55 +0000]
Document eval vs. sub in Benchmark

Subject: Re: Patch for Benchmark.pm

In <9704011547.AA29906@toad.ig.co.uk>, Tim Bunce writes:
:Simple: calling functions in perl is expensive.
Yeah, I simply hadn't expected it to be *that* expensive.

:> - ? "sub { package $pack; my(\$_i)=$n; while (\$_i--){&\$c;} }"
:> + ? "sub { package $pack; my(\$_i)=$n; while (\$_i--){&\$c();} }"
:It's cheaper to _not_ add () so I'd recommend leaving it off.
I considered that, but felt it was more correct not to pass through the
parameters that were received. My new patch ducks it, by shifting @_
out before it gets there.

I also looked at having two caches for empty string/empty sub timings,
but was unable to get satisfactory results. I'll come back to that one,
but I don't think it is urgent for 5.004.

This patch is for the Benchmark.pm in _96: it repeats stuff from my
previous patch, but avoids stuff that was obsoleted by other changes
in _96.

p5p-msgid: 199704012231.XAA00225@crypt.compulink.co.uk

27 years agoTweaks to constant.pm
Tom Phoenix [Tue, 1 Apr 1997 05:10:14 +0000]
Tweaks to constant.pm

I've made a couple of (trivial) changes, in this compared to what was
distributed in _96. Patch available separately. Cape does not actually
enable wearer to fly.

27 years agoEliminate warnings in File::Basename
Robin Barker [Tue, 1 Apr 1997 11:11:43 +0000]
Eliminate warnings in File::Basename

./perl -w t/lib/basename.t
gives some warnings.

p5p-msgid: 11173.9704011111@tempest.cise.npl.co.uk

27 years agoFix POSIX::raise()
Jens T. Berger Thielemann [Tue, 1 Apr 1997 13:34:47 +0000]
Fix POSIX::raise()

[editor's note: Chip credited Jens with the fix, but the message
doesn't have a patch.  *shrug*]

p5p-msgid: Pine.SUN.3.91.970401153125.8053A-100000@holmenkollen.ifi.uio.no