Re: Lots of warnings building [EMAIL PROTECTED]

2005-09-25 Thread Yitzchak Scott-Thoennes
On Sat, Sep 17, 2005 at 04:10:41PM +0100, Nicholas Clark wrote: On Sat, Sep 17, 2005 at 10:02:19AM -0500, Andy Lester wrote: They're mostly the same errors as blead had around patch 24079 (etc) when Andy started adding const to blead. I'm hoping that as I work through them most of the

Re: [perl #37230] Regexp stack overflow in 5.8.7

2005-09-23 Thread Yitzchak Scott-Thoennes
On Fri, Sep 23, 2005 at 09:54:12AM +0100, Brian Candler wrote: On Thu, Sep 22, 2005 at 04:09:57PM -0700, [EMAIL PROTECTED] via RT wrote: The problem with the construct '([^\\]|\\.)*' is that on each character, there are three options to take: match it with '[^\\]', match it with '\\.',

Re: [PATCH] quiet a few warnings

2005-09-23 Thread Yitzchak Scott-Thoennes
Ping? On Wed, Sep 21, 2005 at 06:45:56PM -0700, Yitzchak Scott-Thoennes wrote: --- perl/embed.fnc.orig 2005-09-19 12:16:55.0 -0700 +++ perl/embed.fnc2005-09-21 13:05:46.76224 -0700 @@ -884,7 +884,7 @@ p|int|yywarn |NN const char* s #if defined(MYMALLOC

[PATCH] quiet a few warnings

2005-09-21 Thread Yitzchak Scott-Thoennes
--- perl/embed.fnc.orig 2005-09-19 12:16:55.0 -0700 +++ perl/embed.fnc 2005-09-21 13:05:46.76224 -0700 @@ -884,7 +884,7 @@ p |int|yywarn |NN const char* s #if defined(MYMALLOC) Ap |void |dump_mstats|NN char* s -ApR|int|get_mstats |NN

Re: oddity in op.c

2005-09-20 Thread Yitzchak Scott-Thoennes
On Mon, Sep 19, 2005 at 11:31:19PM +0100, Nicholas Clark wrote: Merijn notices this line in 5.8.x in S_new_logop if ((type == OP_AND) == (SvTRUE(((SVOP*)first)-op_sv))) { It's wonky. It seems to be wrong. But it's been that way since 5.8.0 started. The corresponding point in blead is

[PATCH] licensing terms for perlglossary.pod

2005-09-20 Thread Yitzchak Scott-Thoennes
Tim O'Reilly says we can say: --- perl/pod/perlglossary.pod.orig 2005-09-20 11:22:31.480172800 -0700 +++ perl/pod/perlglossary.pod 2005-09-20 11:24:18.453993600 -0700 @@ -3380,4 +3380,4 @@ Based on the Glossary of Programming Perl, Third Edition, by Larry Wall, Tom Christiansen Jon

Re: [PATCH] licensing terms for perlglossary.pod

2005-09-20 Thread Yitzchak Scott-Thoennes
On Tue, Sep 20, 2005 at 09:14:53PM +0200, Rafael Garcia-Suarez wrote: On 9/20/05, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: Tim O'Reilly says we can say: Woot. Where ? See attached. --- perl/pod/perlglossary.pod.orig 2005-09-20 11:22:31.480172800 -0700 +++ perl/pod

Re: bleadperl MakeMaker problems building DynaLoader

2005-09-20 Thread Yitzchak Scott-Thoennes
On Tue, Sep 20, 2005 at 06:58:55PM -0700, Michael G Schwern wrote: On Wed, Aug 24, 2005 at 01:11:36AM -0700, Yitzchak Scott-Thoennes wrote: I just tried to build bleadperl and got this: Is this still a problem? No, it vanished as mysteriously as it arrived.

[EMAIL PROTECTED] on cygwin looks pretty good

2005-09-19 Thread Yitzchak Scott-Thoennes
I see Nicholas Clark has been hard at work integrating patches into perl5.8.x. Trying a build on cygwin at patch 25494 passes all tests except for op/layers.t, which should be fixed once 24764 is integrated. It would be nice if the version number could be bumped to 5.8.8 soon; I inadvertently

Re: Smoke [5.9.3] 25409 FAIL(XF) bsd/os 4.1 (i386/1 cpu)

2005-09-18 Thread Yitzchak Scott-Thoennes
On Sat, Sep 17, 2005 at 11:07:50AM +0200, Jos I. Boumans wrote: On Sep 14, 2005, at 1:56 PM, [EMAIL PROTECTED] wrote: Automated smoke report for 5.9.3 patch 25409 fixit.xs4all.nl: Pentium II (i386/1 cpu) onbsd/os - 4.1 using cc version egcs-2.91.66 19990314 (egcs-1.1.2

Re: Storable 2.15 on OSX 10.4 with maintperl fails make test

2005-09-18 Thread Yitzchak Scott-Thoennes
On Sat, Sep 17, 2005 at 07:31:53AM -0700, Randal L. Schwartz wrote: Randal == Randal L Schwartz merlyn@stonehenge.com writes: Nicholas == Nicholas Clark [EMAIL PROTECTED] writes: I've said maintperl a few times already. Nicholas No, I'm not, in as much as I don't understand why the perl

bleadperl DProf.xs:140: warning: `unused' attribute ignored

2005-09-18 Thread Yitzchak Scott-Thoennes
bleadperl is getting: DProf.xs:140: warning: `unused' attribute ignored The following fixes it; I thought about defining a pTHX_bare in perl.h that leaves off the register and PERL_UNUSED_DECL from pTHX, but decided there really wasn't going to be a lot of other demand for it. The aTHX would

Re: perl5.004_05 compile problems

2005-09-16 Thread Yitzchak Scott-Thoennes
On Wed, Sep 14, 2005 at 09:01:20AM +0200, H.Merijn Brand wrote: On Tue, 13 Sep 2005 21:21:23 -0700, Shaun Daredia [EMAIL PROTECTED] wrote: I am trying to compile perl5.004_05 under SLES9 SP2 and I am seeing the following message. make: *** No rule to make target `built-in', needed by

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-12 Thread Yitzchak Scott-Thoennes
On Mon, Sep 05, 2005 at 08:10:20AM -0700, Yitzchak Scott-Thoennes wrote: On Mon, Sep 05, 2005 at 04:41:56PM +0200, Rafael Garcia-Suarez wrote: On 9/5/05, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: Any other feedback on making (LIST)[LIST]- not need the -? I think I

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-05 Thread Yitzchak Scott-Thoennes
On Thu, Sep 01, 2005 at 05:41:36PM -0700, Yitzchak Scott-Thoennes wrote: On Wed, Aug 31, 2005 at 06:07:11AM -0700, japhy @ perlmonk. org wrote: In 'perlref', item #3 of 'Using References' says One more thing here. The arrow is optional between brackets sub- scripts, so you can

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-05 Thread Yitzchak Scott-Thoennes
On Mon, Sep 05, 2005 at 04:41:56PM +0200, Rafael Garcia-Suarez wrote: On 9/5/05, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: Any other feedback on making (LIST)[LIST]- not need the -? I think I like the idea, and the patch seems safe. What I don't like, though, is the lack

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-04 Thread Yitzchak Scott-Thoennes
On Thu, Sep 01, 2005 at 05:41:36PM -0700, Yitzchak Scott-Thoennes wrote: BTW, cygwin only has bison 1.875b, not the allowed 1.875 or 1.875c, but it seemed to work. I also note that Debian stable has 1.875d; would it make sense to just allow any 1.875* version? --- p/regen_perly.pl.orig

Re: Fw: Tied hash numeric values are rounded off under Perl v5.8.6

2005-09-02 Thread Yitzchak Scott-Thoennes
Trimmed the cc list a little. On Thu, Sep 01, 2005 at 10:10:36PM -0700, Yitzchak Scott-Thoennes wrote: On Thu, Sep 01, 2005 at 09:58:49PM -0700, Yitzchak Scott-Thoennes wrote: I wouldn't really like to venture what the correct fix is, epecially as I'm still consfused about the meanings

document index() with out of bounds POSITION

2005-09-02 Thread Yitzchak Scott-Thoennes
I've used code like: #!/usr/bin/perl -w use strict; my $str = 'NATCGATCG'; my @substr = qw(ATCG ATCG); my $id = -1; foreach (@substr) { $id = index($str, $_, $id); print $id\n; $id += length($_); } before, but just now noticed

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-01 Thread Yitzchak Scott-Thoennes
On Wed, Aug 31, 2005 at 06:07:11AM -0700, japhy @ perlmonk. org wrote: In 'perlref', item #3 of 'Using References' says One more thing here. The arrow is optional between brackets sub- scripts, so you can shrink the above down to $array[$x]{foo}[0] = January; This led me to

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-01 Thread Yitzchak Scott-Thoennes
On Thu, Sep 01, 2005 at 09:20:07PM -0400, Rick Delaney wrote: On Thu, Sep 01, 2005 at 05:41:36PM -0700, Yitzchak Scott-Thoennes wrote: On Wed, Aug 31, 2005 at 06:07:11AM -0700, japhy @ perlmonk. org wrote: sub foo { ...; return @data } my $x = (foo())[0][1]; which would

Re: [perl #37039] perlref documentation about optional - is too vague

2005-09-01 Thread Yitzchak Scott-Thoennes
On Thu, Sep 01, 2005 at 08:09:41PM -0700, Yitzchak Scott-Thoennes wrote: On Thu, Sep 01, 2005 at 09:20:07PM -0400, Rick Delaney wrote: On Thu, Sep 01, 2005 at 05:41:36PM -0700, Yitzchak Scott-Thoennes wrote: On Wed, Aug 31, 2005 at 06:07:11AM -0700, japhy @ perlmonk. org wrote: sub foo

Re: Fw: Tied hash numeric values are rounded off under Perl v5.8.6

2005-09-01 Thread Yitzchak Scott-Thoennes
On Thu, Sep 01, 2005 at 10:19:11PM +0100, Dave Mitchell wrote: On Thu, Sep 01, 2005 at 10:25:24PM +0200, Marcus Holland-Moritz wrote: I think this is a bug in Perl itself that was introduced with 5.8.0 and is still present. It can be cut down to this code: #!perl -wl use Tie::Hash;

Re: Fw: Tied hash numeric values are rounded off under Perl v5.8.6

2005-09-01 Thread Yitzchak Scott-Thoennes
On Thu, Sep 01, 2005 at 09:58:49PM -0700, Yitzchak Scott-Thoennes wrote: I wouldn't really like to venture what the correct fix is, epecially as I'm still consfused about the meanings of the public verses private N/I/P flags. I *think* I understand it, and magic values shouldn't get

Re: Optree Generation

2005-08-31 Thread Yitzchak Scott-Thoennes
On Tue, Aug 30, 2005 at 11:46:46PM -0700, mohammad yaseen wrote: when you run the command given below perl -I../lib -MO=Concise,BEGIN,CHECK,INIT,END,-exec -e '$a=$b print q/foo/' Also with just: perl -I../lib -MO=Concise,BEGIN,-exec -e0 As instructed, Concise is dumping out the BEGIN

Re: Optree Generation

2005-08-30 Thread Yitzchak Scott-Thoennes
Can you tell us what your goal is?

bleadperl MakeMaker problems building DynaLoader

2005-08-24 Thread Yitzchak Scott-Thoennes
I just tried to build bleadperl and got this: Making DynaLoader (static_pic) Writing Makefile for DynaLoader make[1]: Entering directory `/home/sthoenna/bleadperl/p/ext/DynaLoader' make[1]: Leaving directory `/home/sthoenna/bleadperl/p/ext/DynaLoader' make[1]: Entering directory

Re: bleadperl MakeMaker problems building DynaLoader

2005-08-24 Thread Yitzchak Scott-Thoennes
Anybody else seeing this? I'm on cygwin, [EMAIL PROTECTED] now. On Wed, Aug 24, 2005 at 01:11:36AM -0700, Yitzchak Scott-Thoennes wrote: I just tried to build bleadperl and got this: Making DynaLoader (static_pic) Writing Makefile for DynaLoader make[1]: Entering directory `/home

Re: [perl #36810] Enhance ExtUtils::Embed robustness

2005-08-23 Thread Yitzchak Scott-Thoennes
On Mon, Aug 22, 2005 at 12:07:48PM -0700, Gerrit P. Haase via RT wrote: Hmm, was still logged in as guest... It is a local patch anyway, I add the Win32CORE part and some more Win32 related stuff. This should go back into the source anyway. Mea culpa. I've been meaning to get around to

Re: [perl #36976] system() always returns -1 in forked child with SIG{CHLD}='IGNORE' in parent

2005-08-23 Thread Yitzchak Scott-Thoennes
On Mon, Aug 22, 2005 at 01:29:04PM -0400, Rick Delaney wrote: On Mon, Aug 22, 2005 at 03:29:42AM -0700, Chris wrote: Calls to system() in a forked child always return -1 if the parent has set SIG{CHLD}='IGNORE'. I would expect/hope it to return 0. Demonstrated by: perl -e

Re: [perl #36984] Innocent regexp hangs perl

2005-08-23 Thread Yitzchak Scott-Thoennes
On Tue, Aug 23, 2005 at 04:28:30AM -0700, Eugene Morozov wrote: I'm attaching single script and a test data file. This script hangs on regexp match, though I think it shouldn't. It doesn't hang if it's run in untainted mode, or study is commented. Confirmed in [EMAIL PROTECTED] -Dr shows

Re: [perl #36959] List Constructor Operator - Undefined Values

2005-08-21 Thread Yitzchak Scott-Thoennes
On Sat, Aug 20, 2005 at 12:43:03AM -0400, Rick Delaney wrote: On Fri, Aug 19, 2005 at 05:30:41PM -0700, Yitzchak Scott-Thoennes wrote: On Fri, Aug 19, 2005 at 01:35:49PM -0700, Chris Unger wrote: my @array = (1, 2); # this means $#array is set to 1 for $i ($value1

Re: opcode sequence.

2005-08-19 Thread Yitzchak Scott-Thoennes
On Fri, Aug 19, 2005 at 12:51:09AM -0700, rajarshi das wrote: Dave Mitchell [EMAIL PROTECTED] wrote: On Thu, Aug 18, 2005 at 11:19:16PM -0700, rajarshi das wrote: Hi, Here's a test on perl-5.8.6 run on z/OS : $a = '0178'; $b = '00FF'; $a1 = pack(U0U*, hex $a); $b1 =

Re: ++ turns undef into 0 first

2005-08-19 Thread Yitzchak Scott-Thoennes
On Fri, Aug 19, 2005 at 11:41:08AM +0200, Rafael Garcia-Suarez wrote: On 8/18/05, Peter Scott [EMAIL PROTECTED] wrote: This recently bit me: $ perl -wle 'print 42 if defined($h{foo}++)' 42 Now, before thousands of you reach for the flamethrowers, yes, I know - now - that this is

Re: ++ turns undef into 0 first

2005-08-19 Thread Yitzchak Scott-Thoennes
On Fri, Aug 19, 2005 at 12:23:18PM +0200, Rafael Garcia-Suarez wrote: Yitzchak Scott-Thoennes wrote: I remember a borderline acerbic discussion here; perhaps someone could read the archives and summarize what was said, rather than everyone restating the same opinions? This discussion

Re: [perl #36950] Bizarre warning message

2005-08-19 Thread Yitzchak Scott-Thoennes
On Fri, Aug 19, 2005 at 09:27:50AM -0400, Ronald J Kimball wrote: On Thu, Aug 18, 2005 at 08:58:55PM -0700, Mark-Jason Dominus wrote: This program generates the following output: Bareword found where operator expected at /tmp/bug.pl line 4, near $O Data::Dumper

Re: [perl #36959] List Constructor Operator - Undefined Values

2005-08-19 Thread Yitzchak Scott-Thoennes
On Fri, Aug 19, 2005 at 01:35:49PM -0700, Chris Unger wrote: Perl 5.8.4 (also same output with Perl 5.8.7): Loop 1: Loop 2: 0 Loop 2: 1 Code: #!/usr/local/perl5/bin/perl my @array = (1, 2); # this means $#array is set to 1 for $i ($value1..$#array) { # note

Re: Ping? [PATCH] Re: [perl #36654] Inconsistent treatment of NaN

2005-08-17 Thread Yitzchak Scott-Thoennes
On Wed, Aug 17, 2005 at 04:15:56PM +1000, Sisyphus wrote: - Original Message - From: Yitzchak Scott-Thoennes via RT [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 2:24 PM Subject: Ping? [PATCH] Re: [perl #36654] Inconsistent treatment of NaN Can

Ping? [PATCH] Re: [perl #36654] Inconsistent treatment of NaN

2005-08-16 Thread Yitzchak Scott-Thoennes
Can the patches in: http://nntp.perl.org/group/perl.perl5.porters/103801 and http://nntp.perl.org/group/perl.perl5.porters/103906 be applied (or receive feedback)? Thanks.

Re: [EMAIL PROTECTED] Add sig_count to CONFIGURE.COM

2005-08-14 Thread Yitzchak Scott-Thoennes
On Sat, Aug 13, 2005 at 01:09:56AM -0400, John Malmberg wrote: John E. Malmberg wrote: This patch fixes configure.com on VMS to add the sig_count parameter. This allows the ext/posix/t/sigaction.t script to run with out errors on VMS. An updated patch for configure.com will be posted

Re: What is 32 ?

2005-08-12 Thread Yitzchak Scott-Thoennes
On Fri, Aug 12, 2005 at 02:16:21PM +0200, Piotr Fusik wrote: Hello, I thought that 32 is simply an empty string, but it appears to be something different: perl -le print '' eq (32) 1 perl -le print 'a'|'' a perl -le print 'a'|(32) 0 It has a string value of and a numeric value

Re: [PATCH] New test of IEEE floating point peculiarities

2005-08-11 Thread Yitzchak Scott-Thoennes
On Sat, Aug 06, 2005 at 04:58:53PM +0200, Dominic Dunlop wrote: Following on from perlbug #36676, which concerned perl's handling of a peculiarity of IEEE-standard floating point, I've attached a patch that creates a new test script, op/t/ieeefp.t: # ieeefp.t # # Tests IEEE

Re: [PATCH] New test of IEEE floating point peculiarities

2005-08-11 Thread Yitzchak Scott-Thoennes
On Thu, Aug 11, 2005 at 02:05:20AM -0700, Yitzchak Scott-Thoennes wrote: The PERL_PRESERVE_IVUV stuff can lose a negative zero. $ perl -we'$x = -.0; $x *= 1.0; print $x' 0 $ perl -we'$x = -.0; $x *= 1.1; print $x' -0 Should a negative zero never get IOK turned on? I meant to show

Re: [PATCH] New test of IEEE floating point peculiarities

2005-08-11 Thread Yitzchak Scott-Thoennes
On Thu, Aug 11, 2005 at 03:31:11AM -0700, Yitzchak Scott-Thoennes wrote: On Thu, Aug 11, 2005 at 02:05:20AM -0700, Yitzchak Scott-Thoennes wrote: The PERL_PRESERVE_IVUV stuff can lose a negative zero. $ perl -we'$x = -.0; $x *= 1.0; print $x' 0 $ perl -we'$x = -.0; $x *= 1.1; print $x

Re: [perl #36654] Inconsistent treatment of NaN

2005-08-10 Thread Yitzchak Scott-Thoennes
On Sun, Aug 07, 2005 at 11:03:08AM -0700, Yitzchak Scott-Thoennes wrote: On Mon, Jul 25, 2005 at 05:27:36PM -0700, Sisyphus wrote: use warnings; my $z = NaN; $z += 1; print $z, \n; __END__ When I run that I get an output of simply: 1 NaN + 1 should be NaN, not 1

[PATCH] Re: [PATCH] perlfunc.pod grammar fixes

2005-08-09 Thread Yitzchak Scott-Thoennes
On Thu, Jul 28, 2005 at 05:43:08PM -0500, David Nicol wrote: On 7/28/05, John P. Linderman [EMAIL PROTECTED] wrote: is there any significant difference between perl and Perl? That is exactly the sort of edge case that is under discussion in this thread. One possibility is maintaining an

Re: [perl #36810] Enhance ExtUtils::Embed robustness

2005-08-09 Thread Yitzchak Scott-Thoennes
On Thu, Aug 04, 2005 at 02:37:01AM -0700, Harald Joerg wrote: perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c ...has problems if perl has been built with a static extension provided in a hints file. In the cygwin hints file for perl 5.8.7, after applying the patches from the

Re: [PATCH] undup

2005-08-09 Thread Yitzchak Scott-Thoennes
On Sun, Aug 07, 2005 at 12:41:34PM +0200, H.Merijn Brand wrote: I have the idea that the Encode part should be Cc's to Dan K, but this file is not mentioned in Maintainers.pl 'Encode' = { 'MAINTAINER'= 'dankogai', 'FILES' = q[ext/Encode], 'CPAN'

Re: Smoke [5.9.3] 25245 FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)

2005-08-09 Thread Yitzchak Scott-Thoennes
On Fri, Aug 05, 2005 at 12:37:44PM +0100, Steve Hay wrote: Simply choosing a bigger (well, more negative) number than -3600 in the test above also works, e.g. -7200 gives the correct result for GMT+1 but fails for GMT+2, etc. So using -50400 (-3600 * 14) should also do the trick. There is

Re: [PATCH] Re: [PATCH] perlfunc.pod grammar fixes

2005-08-09 Thread Yitzchak Scott-Thoennes
On Tue, Aug 09, 2005 at 01:38:11PM +0200, Piotr Fusik wrote: +A program that compiles and usually executes L/Perl scripts. Or is +that Lperlfaq1/Is it a Perl program or a Perl script?|Perl programs? s/is that/are they/, I guess, but I may be wrong... Implied is that phrase in the previous

Re: [PATCH] Re: [perl #36667] Lengthy parameter passed to eval leads to bus error on FreeBSD 5.4

2005-08-08 Thread Yitzchak Scott-Thoennes
On Fri, Aug 05, 2005 at 08:43:41AM +0200, Dominic Dunlop wrote: Pumpking(s), please don't apply my patch, as it may be unsafe despite getting through the test suite: On 2005?08?05, at 01:46, Dave Mitchell wrote: Perl_peep doesn't just do omptimisations; swome stuff is necessary for

Re: Fwd: gmake (perl-5.8.6) fails on z/OS

2005-08-08 Thread Yitzchak Scott-Thoennes
On Tue, Jul 26, 2005 at 07:25:33AM -0700, rajarshi das wrote: ./miniperl -w -Ilib -MExporter -e '?' || gmake minitest ./miniperl -Ilib configpm configpm.tmp Malformed UTF-8 character (unexpected continuation byte 0x54, with no preceding start byte) in printf at configpm line 63. Malformed

Re: 5.8.8?

2005-08-08 Thread Yitzchak Scott-Thoennes
On Mon, Aug 08, 2005 at 10:22:59PM +0100, Nicholas Clark wrote: Whoever does maintenance tends to be drawn from someone who has already been committing to the development branch. I think that this would be more help would be useful. Actually merging across patches is relatively ^than ??

Re: Data::Dumper bug?

2005-08-08 Thread Yitzchak Scott-Thoennes
On Mon, Aug 08, 2005 at 12:08:13PM -0500, Troy Loveday wrote: Gurusamy, Ilya Martynov is now the Data::Dumper maintainer. I have observed what I consider to be a bug in XS (C) implementation of Data::Dumper (the Perl implementation does not exhibit the problem). Problem: With Sortkeys(1),

Re: [perl #36654] Inconsistent treatment of NaN

2005-08-07 Thread Yitzchak Scott-Thoennes
On Mon, Jul 25, 2005 at 05:27:36PM -0700, Sisyphus wrote: use warnings; my $z = NaN; $z += 1; print $z, \n; __END__ When I run that I get an output of simply: 1 NaN + 1 should be NaN, not 1. If NaN is treated as a string, then you would expect a value of 1 - but if NaN were

Re: bareword test on ebcdic.

2005-07-28 Thread Yitzchak Scott-Thoennes
On Thu, Jul 28, 2005 at 12:35:13AM -0700, rajarshi das wrote: Nicholas Clark wrote: If you put those 3 bytes directly between the '{' and '}' characters in the EBCDIC version of that 1 liner, does it also print 3500? I am unable to put those three bytes in the 1-liner you mentioned above,

Re: [perl #36674] -undef() eq '-0'

2005-07-28 Thread Yitzchak Scott-Thoennes
On Wed, Jul 27, 2005 at 04:53:12PM -0700, Michael G Schwern wrote: On Wed, Jul 27, 2005 at 03:43:19PM -0700, Piotr Fusik wrote: The result of the unary minus operator, when applied to an undefined value (e.g. undefined variable) is unexpected: perl -le 'print for -0,-,-0.0,-undef' 0

Re: [perl #36616] bug or feature? foreach (sort @array) {y/a-z/A-Z/;} # @array modified!

2005-07-22 Thread Yitzchak Scott-Thoennes
On Thu, Jul 21, 2005 at 04:22:19PM -0500, Graham Barr wrote: I don't think its a bug so much as undocumented behaviour. fixing it would involve doing a whole bunch of unneccessary copying in sort and grep. And reverse and any XS sub that directly returns any of its SV arguments (eg

Re: [perl #34524] sv_rvweaken (Scalar::Util::weaken) is inneffective on tied variables

2005-07-19 Thread Yitzchak Scott-Thoennes
On Wed, Jul 20, 2005 at 01:27:51AM +0100, Dave Mitchell wrote: On Mon, Mar 21, 2005 at 08:42:11PM -, philippe. cote @ usherbrooke. ca wrote: sv_rvweaken doesn't handle tied variables Proof : +-+ Sample

Re: [PATCH] perlop: why \c\ cannot be placed just before the terminating delimiter

2005-07-18 Thread Yitzchak Scott-Thoennes
On Sun, Jul 17, 2005 at 11:38:05AM +0900, SADAHIRO Tomoyuki wrote: Hello, \c\ is an only case (afaik) of escape sequence ending with backslash. Though perlop explains how to find the end of quoted constructs in detail, it may be a trap. Regards, SADAHIRO Tomoyuki diff -ur

Re: [perl #36569] chop fails on decoded string with trailing nul

2005-07-18 Thread Yitzchak Scott-Thoennes
On Sat, Jul 16, 2005 at 03:48:10PM +0200, H.Merijn Brand wrote: On Sat, 16 Jul 2005 22:05:13 +0900, SADAHIRO Tomoyuki [EMAIL PROTECTED] wrote: This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.35 running under perl v5.8.4. I ran into this,

Re: [perl #36538] perlfunc/our contradicts itself

2005-07-13 Thread Yitzchak Scott-Thoennes
On Wed, Jul 13, 2005 at 02:08:07PM -0700, Michael G Schwern wrote: I think the thing to do is to reword the first statement such that it no longer declares our has no effect unless strict is on. When Cuse strict vars is in effect, the Cour declaration lets you use the declared global

Re: [PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-07 Thread Yitzchak Scott-Thoennes
On Tue, Jul 05, 2005 at 06:22:02PM +0100, Steve Hay wrote: So I've applied your patch, together with my test (marked as TODO since it currently fails) as change 25083. Note that it is all one test, though, so the newly fixed bit isn't actually being tested until the TODO gets resolved :-(

Re: [PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-07 Thread Yitzchak Scott-Thoennes
On Thu, Jul 07, 2005 at 01:07:13PM +0100, Steve Hay wrote: Yitzchak Scott-Thoennes wrote: On Tue, Jul 05, 2005 at 06:22:02PM +0100, Steve Hay wrote: So I've applied your patch, together with my test (marked as TODO since it currently fails) as change 25083. Note that it is all one

Re: [PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-07 Thread Yitzchak Scott-Thoennes
On Thu, Jul 07, 2005 at 09:45:51AM -0700, Yitzchak Scott-Thoennes wrote: On Thu, Jul 07, 2005 at 01:07:13PM +0100, Steve Hay wrote: Yitzchak Scott-Thoennes wrote: On Tue, Jul 05, 2005 at 06:22:02PM +0100, Steve Hay wrote: So I've applied your patch, together with my test (marked

Re: [PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-07 Thread Yitzchak Scott-Thoennes
On Thu, Jul 07, 2005 at 03:05:00PM -0700, Yitzchak Scott-Thoennes wrote: On Thu, Jul 07, 2005 at 09:45:51AM -0700, Yitzchak Scott-Thoennes wrote: On Thu, Jul 07, 2005 at 01:07:13PM +0100, Steve Hay wrote: Yitzchak Scott-Thoennes wrote: On Tue, Jul 05, 2005 at 06:22:02PM +0100, Steve

Re: Documenation hint: Name your arguments

2005-07-07 Thread Yitzchak Scott-Thoennes
On Wed, Jul 06, 2005 at 11:17:34AM -0700, Russ Allbery wrote: Steve Hay [EMAIL PROTECTED] writes: I have always favoured I$variable because I used to be recommended for variables in perlpod.pod (used for emphasis or variables), but I see that change 12542 reworded the description for I as

Re: [perl #36473] s/PATTERN/func()/em leaks /m into func().

2005-07-07 Thread Yitzchak Scott-Thoennes
On Wed, Jul 06, 2005 at 10:34:33PM -, abigail @ abigail. nl wrote: I've confirmed the bug to be present in 5.000, 5.004_0[45], 5.005_0x, 5.6.x and 5.8.x, including 5.8.7. However, the bug isn't present in any of the 5.9.x versions of perl. I think this was fixed by the removal of the

Re: Replies to old bugs

2005-07-06 Thread Yitzchak Scott-Thoennes
On Wed, Jul 06, 2005 at 08:19:25AM -0700, Michael G Schwern wrote: On Tue, Jul 05, 2005 at 09:22:13PM -0700, Robert Spier wrote: What do I have to do special to make my replies to old bugs in rt.perl.org show up on p5p like Steve's do? Put p5p (well, the email address) in the CC line

Re: Smoke [5.9.3] 25055 FAIL(F) bsd/os 4.1 (i386/1 cpu)

2005-07-06 Thread Yitzchak Scott-Thoennes
On Sun, Jul 03, 2005 at 05:09:05PM +0100, Dave Mitchell wrote: On Sun, Jul 03, 2005 at 01:57:00PM +0200, [EMAIL PROTECTED] wrote: Automated smoke report for 5.9.3 patch 25055 fixit.xs4all.nl: Pentium II (i386/1 cpu) onbsd/os - 4.1 using cc version egcs-2.91.66 19990314

Re: Date::Parse (Time::Local?) choking on years between 1956-1938 and wrong below, on FC4/5.8.6

2005-07-06 Thread Yitzchak Scott-Thoennes
On Wed, Jul 06, 2005 at 10:50:17AM -0700, Michael G Schwern wrote: On Wed, Jul 06, 2005 at 11:12:03AM -0400, Scott R. Godin wrote: I was surprised to find that Date::Parse actually had these value limits hard-coded into itself and wasn't utilizing the underlying library functions to

Re: Date::Parse (Time::Local?) choking on years between 1956-1938 and wrong below, on FC4/5.8.6

2005-07-06 Thread Yitzchak Scott-Thoennes
On Wed, Jul 06, 2005 at 11:52:00AM -0700, Michael G Schwern wrote: On Wed, Jul 06, 2005 at 11:10:14AM -0700, Yitzchak Scott-Thoennes wrote: Start here: Really I'd have to start here: http://www.dummies.com/WileyCDA/DummiesTitle/productCd-0764570684.html ftp://elsie.nci.nih.gov/pub

Re: [PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-05 Thread Yitzchak Scott-Thoennes
On Tue, Jul 05, 2005 at 10:55:15AM +0100, Steve Hay wrote: Steve Hay wrote: My test POD is attached, together with the old HTML output (without your patch) and the new (with your patch). Thanks for coming up with tests for this. The POD made it through, but the HTML's seem to have got

[PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-04 Thread Yitzchak Scott-Thoennes
--- perl/lib/Pod/Html.pm.orig 2005-05-05 08:46:10.0 -0700 +++ perl/lib/Pod/Html.pm 2005-07-04 00:06:33.823966400 -0700 @@ -1883,7 +1883,7 @@ my( $url ); my $fid = fragment_id( $item ); -if( defined( $page ) ){ +if( defined( $page ) $page ne ){ # we have

[PATCH] perlglossary.pod: add jump points

2005-07-04 Thread Yitzchak Scott-Thoennes
Remove the =head1 Terms, add =head2 jump points. --- perl/pod/perlglossary.pod 2005-07-01 06:13:30.0 -0700 +++ perlpatch/pod/perlglossary.pod 2005-07-03 23:58:29.147035000 -0700 @@ -9,7 +9,7 @@ Lhttp://foldoc.doc.ic.ac.uk/foldoc/index.html, the Jargon File

Re: what slow could be in Compress::Zlib? (was RE: 5.004_xx in the wild?)

2005-07-04 Thread Yitzchak Scott-Thoennes
On Mon, Jul 04, 2005 at 02:19:16PM +0100, Paul Marquess wrote: Whilst I'm here, when I do get around to posting a beta on CPAN, I'd prefer it doesn't get used in anger until it has bedded-in. If I give the module a version number like 2.000_00, will the CPAN shell ignore it? This is often done

Re: [PATCH] Pod::Html - correctly link to =item's on the same page

2005-07-04 Thread Yitzchak Scott-Thoennes
BTW, Pod::Html is *not* a dual life module. Please don't wait for the CPAN maintainer to apply this; there isn't one. On Mon, Jul 04, 2005 at 02:07:38AM -0700, Yitzchak Scott-Thoennes wrote: --- perl/lib/Pod/Html.pm.orig 2005-05-05 08:46:10.0 -0700 +++ perl/lib/Pod/Html.pm 2005

Re: Warnings with const char *const * arguments

2005-07-01 Thread Yitzchak Scott-Thoennes
On Fri, Jul 01, 2005 at 09:18:41AM +0100, Steve Hay wrote: I'm glad that we understand each other now, but I still disagree. I've applied change 25033 using the #ifdef for Borland. No problem; it's your call to make.

Re: [PATCH] perlglossary.pod

2005-07-01 Thread Yitzchak Scott-Thoennes
On Fri, Jul 01, 2005 at 03:23:29AM -0700, Michael G Schwern wrote: + +Descriptive editing term--short for awkward. Also coincidentally +refers to a venerable text-processing language from which Perl derived +some of its high-level ideas. + +=back 4 + +=over 4 + +=item

Re: [PATCH] perlglossary.pod

2005-07-01 Thread Yitzchak Scott-Thoennes
On Fri, Jul 01, 2005 at 03:11:00PM +0200, Rafael Garcia-Suarez wrote: Yitzchak Scott-Thoennes wrote: Here's a first try at perlglossary.pod, mostly taken from the Camel III Glossary courtesy of the nice folks at O'Reilly. Their lawyers are still working out the exact licensing wording

Re: [PATCH] perlglossary.pod

2005-07-01 Thread Yitzchak Scott-Thoennes
On Fri, Jul 01, 2005 at 10:16:19AM -0400, Ronald J Kimball wrote: On Fri, Jul 01, 2005 at 03:10:50AM -0700, Yitzchak Scott-Thoennes wrote: +=item accessor methods + +A Cmethod used to indirectly inspect or update an Cobject's +state (its Cinstance variables). Why have all

Re: How to suppress warnings when building Errno with gcc

2005-07-01 Thread Yitzchak Scott-Thoennes
On Thu, Jun 30, 2005 at 09:24:06AM +0100, Steve Hay wrote: Mike Guy wrote: Steve Hay [EMAIL PROTECTED] wrote Does anyone else see several dozen warning: #pragma system_header ignored outside include file warnings when building Errno with gcc? I see it on Win32 (MinGW -- gcc

Re: [PATCH] perlglossary.pod

2005-07-01 Thread Yitzchak Scott-Thoennes
On Fri, Jul 01, 2005 at 10:43:12AM -0700, Yitzchak Scott-Thoennes wrote: On Fri, Jul 01, 2005 at 03:11:00PM +0200, Rafael Garcia-Suarez wrote: Yitzchak Scott-Thoennes wrote: Here's a first try at perlglossary.pod, mostly taken from the Camel III Glossary courtesy of the nice folks

Re: [PATCH] Don't load Exporter::Heavy for foo

2005-06-30 Thread Yitzchak Scott-Thoennes
On Tue, Jun 28, 2005 at 04:04:18PM -0700, Michael G Schwern wrote: Exporter will load Exporter::Heavy if it sees *any* sigils in the @EXPORT list. This includes foo. foo is equivalent to foo and can be processed the same. This patch simply strips off any leading before Exporter does its

Re: Warnings with const char *const * arguments

2005-06-30 Thread Yitzchak Scott-Thoennes
On Mon, Jun 27, 2005 at 10:46:19AM +0100, Steve Hay wrote: win32/win32.c currently generates warnings under gcc. The problem is reproduced by: #include process.h int main() { const char *cmdname; const char *const *argv; return execv(cmdname, (char *const *)argv); }

Re: Warnings with const char *const * arguments

2005-06-30 Thread Yitzchak Scott-Thoennes
On Thu, Jun 30, 2005 at 09:33:50AM +0100, Steve Hay wrote: Yitzchak Scott-Thoennes wrote: On Mon, Jun 27, 2005 at 10:46:19AM +0100, Steve Hay wrote: win32/win32.c currently generates warnings under gcc. The problem is reproduced by: #include process.h int main() { const char

Re: Warnings with const char *const * arguments

2005-06-30 Thread Yitzchak Scott-Thoennes
On Thu, Jun 30, 2005 at 02:41:37AM -0700, Yitzchak Scott-Thoennes wrote: And the table shows that assigning a const char * const [] to a char * const [] is not valid. Err, I meant assigning a char * const [] to a const char * const [] (i.e. using the cast in MinGW).

Re: Warnings with const char *const * arguments

2005-06-30 Thread Yitzchak Scott-Thoennes
On Thu, Jun 30, 2005 at 11:22:46AM +0100, Steve Hay wrote: But what do you mean by correctly? You seem to be meaning what SUSv3 says, whereas I would have thought that correct for a given compiler is whatever that compiler's headers say. You're right that it doesn't hurt (and doesn't

Re: [perl #36434] blead perl breask CPANPLUS-0.055 and other programs that push @ISA, __PACKAGE__

2005-06-30 Thread Yitzchak Scott-Thoennes
On Thu, Jun 30, 2005 at 11:43:33AM -0400, John Peacock wrote: p.s. is this _really_ necessary: if (name[1] == '_' name[2] == 'P' name[3] == 'A' name[4] == 'C' name[5] == 'K' name[6] == 'A'

Re: [PATCH] XSLoader for Storable

2005-06-26 Thread Yitzchak Scott-Thoennes
On Sun, Jun 26, 2005 at 06:35:49PM -0700, Michael G Schwern wrote: On Mon, Jun 27, 2005 at 05:10:02AM +0400, Alexey Tourbin wrote: +} or do { +require DynaLoader; +local @ISA = qw(DynaLoader); +bootstrap Storable $VERSION; +}; 1; __END__ # End of patch Since

Re: need to introduce CLONE2 as an method

2005-06-21 Thread Yitzchak Scott-Thoennes
On Tue, Apr 12, 2005 at 08:33:34PM +0200, Rafael Garcia-Suarez wrote: On Apr 12, 2005 8:24 PM, Dave Mitchell [EMAIL PROTECTED] wrote: 2) add a negative voice class method: CLONE_ME_NOT (or whatever wording) and do cloning unless CLONE_ME_NOT exists and returns true: + makes the

Re: [PATCH replacement] Re: [perl #36313] perl -e 1for$[=0 crash

2005-06-20 Thread Yitzchak Scott-Thoennes
On Mon, Jun 20, 2005 at 10:44:30AM -, Piotr Fusik wrote: gt; + $x = 1 for $[ = 0; gt; + pass('optimized assignment to $[ used to segfault in scalar context'); gt; + if (($[) = 0) { $x = 1 } gt; + pass('optimized assignment to $[ used to segfault in list context'); gt; gt; Looks

Re: 5.6.2 build failures on centos4

2005-06-20 Thread Yitzchak Scott-Thoennes
On Mon, Jun 20, 2005 at 03:52:26PM +0100, Simon Wistow wrote: comparison is always true due to limited range of data type Those are expected. Unfortunately, it's a case where gcc has an optimization that always triggers a warning; there's no way to write the code (AFAIK) to get the

Re: Smoke [5.9.3] 24906 FAIL(X) cygwin_nt-5.0 1.5.17(0.129/4/2) (x86/1 cpu)

2005-06-20 Thread Yitzchak Scott-Thoennes
On Mon, Jun 20, 2005 at 10:37:30PM +0200, H.Merijn Brand wrote: ../lib/Test/Harness/t/strap-analyze.t...FAILED at test 19 ../lib/Test/Harness/t/test-harness.tFAILED at test 13 make test: lib/Test/Harness/t/strap-analyze..Can't locate if.pm in @INC (@INC contains:

Re: [perl #9741] possible problem with File::Find

2005-06-17 Thread Yitzchak Scott-Thoennes
On Fri, Jun 17, 2005 at 01:39:29PM -, Steve Peters via RT wrote: [EMAIL PROTECTED] - Sun Jun 23 04:38:19 2002]: I am using the Find::Find routine to scan a tree of files. It has worked fine until I tried something on a PC find ( $routine_ref , directory ) is the form a use.

Re: [perl #9741] possible problem with File::Find

2005-06-17 Thread Yitzchak Scott-Thoennes
On Fri, Jun 17, 2005 at 01:49:16PM -0500, Steve Peters wrote: On Fri, Jun 17, 2005 at 09:24:44AM -0700, Yitzchak Scott-Thoennes wrote: On Fri, Jun 17, 2005 at 01:39:29PM -, Steve Peters via RT wrote: I was not able to duplicate your problem with either Perl 5.8.6 or 5.6.1. It appears

Re: [PATCH pod/perlfunc.pod pod/perlobj.pod pod/perltooc.pod] Recommend Against NIVERSAL:: Methods as Functions

2005-06-16 Thread Yitzchak Scott-Thoennes
On Thu, Jun 16, 2005 at 08:41:34AM +0200, demerphq wrote: On 6/16/05, Mark Jason Dominus [EMAIL PROTECTED] wrote: yves: Using UNIVERSAL::isa() is IMO bad as its suseptible to my $obj=3Dbless [],'HASH'; type nonsense. Perhaps, but it seems to me that someone doing that is

Re: [perl #24276] Coercing arrays into hashes

2005-06-16 Thread Yitzchak Scott-Thoennes
On Thu, Jun 16, 2005 at 01:51:44AM -, Steve Peters via RT wrote: [EMAIL PROTECTED] - Thu Oct 23 07:07:01 2003]: This is a bug report for perl from [EMAIL PROTECTED], generated with the help of perlbug 1.34 running under perl v5.8.1.

Re: [PATCH] Lint support

2005-06-16 Thread Yitzchak Scott-Thoennes
On Thu, Jun 16, 2005 at 01:34:01PM -0700, Michael G Schwern wrote: On Thu, Jun 16, 2005 at 12:18:36PM -0500, Andy Lester wrote: Looks like VIM formatting codes. *HI!!* Yes, and they've been added in regularly for at least the past month. Added or slipped in? Do we want to be

Re: [perl #36267] hash assignment to a tied hash erroneously stores data in the real hash too

2005-06-15 Thread Yitzchak Scott-Thoennes
On Mon, Jun 13, 2005 at 10:49:59AM -, Nicholas Clark wrote: Hash assignment (%foo = %bar) is one of the few parts of the perl core that uses hv_store, instead of hv_fetch. If you assign to a tied hash, then the current implementation of hv_store erroneously also stores the new contents

  1   2   3   4   5   >