Re: Bondage to disciplines (Was: FIX: $\ = "a\000b";)

1999-11-07 Thread Simon Cozens
On Sun, Nov 07, 1999 at 08:16:42AM -0700, Tom Christiansen wrote: > >> $pid = system 1, $cmd, @args; > > >Be careful not to confuse needs and wants. I've never needed it, but > >then I've never wanted it either. You may want it, but I'm not sure you > >need it. Which are you referring to? > >

Re: [li18nux:392] Call for information on Unicode (UTF-8) enabled packages

2000-03-09 Thread Simon Cozens
[This message has also been posted.] [P5P, for your information] Alberto Tomita (lists.tlug): >From the li18nux mailing list. Does anyone has anything >to report on this? > >At 10:43 00/3/9 +0900, you wrote: >> Dear members of Li18nux. >> >> For preparation of the Linux Internationalization spec

Re: [5.6.0-RC1] Problem building Archive::Tar

2000-03-10 Thread Simon Cozens
Chris Nandor (lists.p5p): >>[6] Can't call method "gzseek" on an undefined value at >>blib/lib/Archive/Tar.pm line 785. >> make: *** [test_dynamic] Error 9 >> >>Sorry, I've no time to debug this now. > >I got that on several machines recently -- all with 5.005_03, I believe -- >and similarly

Re: What's left to do? [LONG]

2000-03-31 Thread Simon Cozens
Tom Hughes (lists.p5p): >> And it shouldn't forget to turn on the execute bit. >It isn't supposed to. There is code in there to turn it on but it >obviously hasn't triggered in this case. I think perlcc must have >decided you were compiling a module rather than a script as it only >tu

Re: PATCH: lib/Pod/Man.pm

2000-04-30 Thread Simon Cozens
Tom Christiansen (lists.p5p): >You broke roffitall! (which, I see, has not been kept up to date.) I think it's another of those things nobody knows about. Since we don't install these utilities in the main system but instead keep them within the Perl source archive, it's hard to remember they ex

Re: Wishlist for perldoc

2000-05-03 Thread Simon Cozens
Fisher Mark (lists.p5p): >If perl5-porters concurs that this avenue (a Perl man(1) suite) is worth >pursuing Making people run a fake man command on non-Unix systems is much like building a pretty white church with a steeple in the jungles of New Guinea. -- Larry Wall in <[EMAIL PROT

[PATCH] Porting/perlforce.pod

2000-07-02 Thread Simon Cozens
, they do: % p4 integrate -r -b cfgperl ... Generating a patch for change#42 is done as follows: % p4 describe -du 42 | p4desc | p4d2p > change-42.patch p4desc and p4d2p are to be found in //depot/perl/Porting/. =head1 Contact Information The mail alias <[EMAIL PROTECTED]&g

Re: Anyone recognise this fixed bug (subtext: where is the bug DB?)

2000-07-06 Thread Simon Cozens
Richard Foley (lists.p5p): >Would it help if we looked into doing it that way too, or not? I come to bury perlbug, not to fix it. :) -- `First Up Against The Wall When The Revolution Comes! Woohoo! So long as they promise to use latex gloves, I'm happy. :)' - Thorfinn, in the Monastery.

[PATCH cfgperl] $& segfaults if you trick it

2000-07-07 Thread Simon Cozens
It's possible, although distinctly evil, to trick Perl about $& - if Perl sees a "$&", "&`" or "$'" at compile time, it keeps track of what they should be. If not, it won't. If, however, you have a $& at *runtime*, Perl gets distinctly confused: % perl -e '"oxo"=~/x/;eval q/print $/.q/&/;' zsh: 2

Re: [PATCH perl-current] 'use namespace' requires testing

2000-07-15 Thread Simon Cozens
Alan Burlison (lists.p5p): >it strikes me that in the >end this is really a judgement call as to how it should work Or indeed "if". Colour me stupid, but I fail to see what { use namespace 'Foo::Bar'; $x = 10; } buys you over { package Foo::Bar; $x = 10; }

Re: [ID 20000718.002] Not OK: perl v5.6.0 on sun4-solaris 2.6

2000-07-18 Thread Simon Cozens
Larry W. Virden (lists.p5p): >Unfortunately, it doesn't appear that the rsync is making a change >anywhere that indicates which patches have been applied. I posted something here a few days ago which added change-level information to patchlevel.h given a file produced by the repository. Until th

Re: [ID 20000730.004] strangeness with Unicode

2000-07-31 Thread Simon Cozens
Jeffrey Friedl (lists.p5p): >So, it seems that there are two separate problems: > > * length() not working correctly (examples 5,6, 11, 12) > * string concatination not working (examples 7, 8, 10) Could you try these with a bleeding-edge Perl, and then contact me directly? These should have b

Re: uft8/chr()

2000-07-31 Thread Simon Cozens
Jeffrey Friedl (lists.p5p): >It's not because I put the extra zeros (0x00E2 vs. 0xE2) that I thought it >should convert to utf8 for me, but because it was utf8 mode and I was >asking for the CHaRacter with value 0xE2. Ooh, uhm, er. Don't know. Jarkko? I'm happy to patch it if that's what it shoul

Re: [ID 20000730.003] utf8::length() bad

2000-07-31 Thread Simon Cozens
Jeffrey Friedl (lists.p5p): > % perl -mutf8 -e "print utf8::length('a')" > >causes my cpu to peg, and memory to grow until I break out of it. Oh, *swear*. I know why this is happening, and I'll have a look at it today if possible. -- Digital circuits are made from analog parts.

Re: [ID 20000806.001] suidperl up to 5.06 -- local root compromise

2000-08-09 Thread Simon Cozens
Jarkko Hietaniemi (lists.p5p): >Somebody with good 'software hardening' experience should go through >suidperl. I've seen people going to software not only using the source >code, but by using system call tracing and looking for patterns that >spell 'race condition' or something other yucky. Wel

Re: [ID 20000810.002] $a["1foo"] same as $a[0]

2000-08-10 Thread Simon Cozens
[EMAIL PROTECTED] (lists.p5p): >This program: > >- >@a = (1, 2, 3); > >print $a["1foo"], "\n"; >print $a["1"], "\n"; >- > >prints: > >Argument "1foo" isn't numeric in array element at xxx.pl line 4. >1 >2 Oh, sheesh, I am naughty. Th

Re: perldirs.pod

2000-08-11 Thread Simon Cozens
Elaine -HFB- Ashton (lists.p5p): >Simon Cozens [[EMAIL PROTECTED]] quoth: >*> >*>B >*> >*>!GROK!THIS! > >I would almost guarantee that the combination of these two things would >keep most SAs from taking this seriously or running it since it has a >scr

Re: perl@6889

2000-08-29 Thread Simon Cozens
On Tue, Aug 29, 2000 at 03:17:29PM -0400, [EMAIL PROTECTED] wrote: > As for rsync, the man page said it requires ssh or rsh access. :( It doesn't. -- Putting a square peg into a round hole can be worthwhile if you don't mind a few shavings. -- Larry Wall

Re: Encode, my final take for a while

2000-09-13 Thread Simon Cozens
On Wed, Sep 13, 2000 at 03:46:28PM +0100, Nick Ing-Simmons wrote: > So I will need (C versions of) these things "soonish". What exactly do you need? The stuff which does all the various character sets as well, or just the UTF8-bytes-characters conversion routines? I've taken the Encode documentat

Re: unicode support and perl

2000-09-16 Thread Simon Cozens
OK, I need to do some apologising here too. Marc, for starters, I'm sorry if I accused you of whining. I *know* you're not just a whiner - you've sent in patches, Spider's had a look at one, Nick's put it in the repository, and it'll go into 5.7.1, cleaning up one of those bugs. That's making pro

Re: who is bob55552002@yahoo.com and why is it sending me duplicates?

2000-10-02 Thread Simon Cozens
On Mon, Oct 02, 2000 at 09:11:18AM -0700, Gurusamy Sarathy wrote: > Is anyone else experiencing the same problem? Yes, I've been having this for a while. Ask, this is the same problem I moaned about a while ago. -- Hanlon's Razor: Never attribute to malice that which is adequately expla

Re: Why is unshift slow?

2000-10-03 Thread Simon Cozens
On Tue, Oct 03, 2000 at 04:30:52PM -0400, Ben Tilly wrote: > I have not tracked the code down yet, but the problem is that > when an array needs to be moved, it is always kept aligned on > a boundary so that that the next unshift will need to move it > again. If you unshift 50,000 times this gets

Re: pp_add -> pp_i_add efficiency hack?

2000-10-05 Thread Simon Cozens
On Thu, Oct 05, 2000 at 06:38:59AM -0500, Jarkko Hietaniemi wrote: > > Argh. Hang on, I didn't do anything floating point. Why has it upgraded to > > PVNV? > > Because that's the way Perl does it. I hate it too. Yup, it dawned on me a few minutes after posting that we can't do much else because

Re: what *is* our utf8 model, anyway?

2000-10-12 Thread Simon Cozens
On Thu, Oct 12, 2000 at 11:46:59PM +0100, Nick Ing-Simmons wrote: > It is late and I will respond again tomorrow but I think > we need the table of functions to include: > > read - give me N bytes (with a magic "as much as is to hand" value) > unread - take these bytes back > seek

Re: what *is* our utf8 model, anyway?

2000-10-13 Thread Simon Cozens
On Fri, Oct 13, 2000 at 10:11:19PM +0100, Nicholas Clark wrote: > 1: Does the act of pushing trigger the $/ splitter to push back >"M4'5G:`I0=6=H\"D)" all the way to level 0.5 (ie beyond OS_interface, >before Byte)? I immediately went for this, but then realised that would mean having to

Re: [Marc Lehmann ] koenntest du was fuer mich auf perl5-porters posten? danke!

2000-10-29 Thread Simon Cozens
On Mon, Oct 30, 2000 at 07:57:43AM +0100, Andreas J. Koenig wrote: > Could somebody explain into which unfortunate trap Marc has fallen? I think it's *probably* the thing about dialup addresses; as a spam-prevention measure, (I reserve judgment on this) perl5-porters uses the DUL list of dialup h

Re: [ID 20001114.001] use utf8;use charnames; is incorrect for \x{80}-\x{FF}

2000-11-14 Thread Simon Cozens
On Wed, Nov 15, 2000 at 03:06:19AM +1300, Andrew McNaughton wrote: > On Tue, 14 Nov 2000, Nick Ing-Simmons wrote: > > Andrew McNaughton <[EMAIL PROTECTED]> writes: > > >use utf8; > > >use charnames ':full'; > > >$text .= "\N{LATIN CAPITAL LETTER A WITH DIAERESIS}"; > > > > > > > > >This fails beca

Re: [ID 20001122.003] PERL5OPT interpreted strangely

2000-11-24 Thread Simon Cozens
On Fri, Nov 24, 2000 at 12:02:23PM -0500, Mark-Jason Dominus wrote: > This may use much machinery. I wasn't sure how to test Perl's > behavior under varions environment variable settings without forking a > child process, setting up the appropriate environment, and actually > running Perl. > > S

Re: CPAN "make this script work" feature

2000-12-08 Thread Simon Cozens
On Fri, Dec 08, 2000 at 11:28:38AM -0500, John Peacock wrote: > What would be even more useful is to have the installation of CPAN on > a system (optionally) patch "use" and "require" so that instead of > dieing when a required module was not installed, it would immediately > offer to start CPA

Re: ebcdic <-> ascii tables interjected in uv <-> utf8 considered harmful

2000-12-08 Thread Simon Cozens
On Fri, Dec 08, 2000 at 04:13:43PM +, Nick Ing-Simmons wrote: > There is no difference for the old model. There is a difference in the > new model. No, no, no, no, no, no. The "old model" is what's going on now. Latin1 <-> Unicode works fine. The "new model" I was proposing simply extends t

Re: How to get the latest sources?

2000-12-15 Thread Simon Cozens
utgoing Subject header to the subject of the individual message you're replying to. 1.6) How do I get this document? Uh, you're reading it, aren't you? Oh well, life is strange. Send mail to <[EMAIL PROTECTED]> and you'll receive a copy. 1.7) How do I submit/suggest

Re: API Cleanup

2001-01-16 Thread Simon Cozens
On Mon, Jan 15, 2001 at 09:48:45PM -0600, Jarkko Hietaniemi wrote: > > Warning: utf8_length not documented! > > Warning: utf8_distance not documented! ... > There be something funny with your script (or you are not using > bleadperl). All these seems to be documented in perlapi. They aren't mark

Re: Multiple post(inc|dec)rement

2001-01-17 Thread Simon Cozens
On Wed, Jan 17, 2001 at 02:21:34PM +0100, Johan Vromans wrote: > Stephen McCamant <[EMAIL PROTECTED]> writes: > > > IMHO, pp_pre(inc|dec) were written the way they are now for a reason > > (namely efficiency), and it isn't worth slowing them down just to make > > some pathological examples more

Emasculating HINT_UTF8

2001-01-22 Thread Simon Cozens
As we know, "use utf8" should become a no-op. The following patch *makes* it a no-op by assuming that "use utf8" is always on; after this patch is applied, HINT_UTF8 is meaningless, and can be negated with "use bytes". If this causes test or other failures, this indicates a failure in the UTF8 sys

Re: 8482 busted for $^V sprintf()s on OS/390

2001-01-22 Thread Simon Cozens
On Mon, Jan 22, 2001 at 12:49:18PM -0800, Peter Prymmer wrote: > P.S. the bad news is that the need to go hacking into UTF8 eq ops has > disappeared - at least for now (I know you were looking forward to that > ;-). Damn! It's actually all starting to work, isn't it? :) -- For detailed informat

Re: 8482 busted for $^V sprintf()s on OS/390

2001-01-22 Thread Simon Cozens
On Mon, Jan 22, 2001 at 11:55:38AM -0800, Peter Prymmer wrote: > $ ./perl -le 'use Devel::Peek; $a = sprintf "%vd", $^V; Dump($a)' > SV = PV(0x1a8c4034) at 0x1a8cfe4c > REFCNT = 1 > PV = 0x1a8c7ba8 "5.7.0"\0 Good. > FLAGS = (POK,pPOK,UTF8) Bad. But even that doesn't explain why configpm w

Re: [PATCH lib/Test/Harness.pm] (was Re: Patch 7989 breaks the Schwern style of testing)

2001-01-29 Thread Simon Cozens
On Fri, Jan 26, 2001 at 06:31:38PM +, Nicholas Clark wrote: > > Patches to implement filters via PerlIO disciplines would fix that ;-) > > Documentation on the PerlIO discipline system would help an implementor :-) perliol.pod is there now, so... > (I was thinking about doing this. However,

Re: h2xs output

2001-01-29 Thread Simon Cozens
On Sun, Jan 28, 2001 at 07:20:54PM +, Tom Hughes wrote: > I was assuming that if people thought it was a good idea a version > could be put on CPAN as a standalone module for people with older > perls. > > Such a version would probably have to have a hash of features and > the version numbers

[PATCH] U+XXXX Unicode literals

2001-02-11 Thread Simon Cozens
People in the Unicode world sometimes use U+(four hex digits) to refer to a Unicode codepoint. Here's a patch that lets them do that in Perl. --- toke.c~ Mon Feb 12 03:22:05 2001 +++ toke.c Mon Feb 12 03:56:19 2001 @@ -3747,6 +3747,34 @@ no_op("Backslash",s); OPERATOR

This Week on perl5-porters (13--19 Feb 2001)

2001-02-19 Thread Simon Cozens
the maintainance track. Sarathy asked if anyone was interested in playing with waitpid on Windows and its fork emulation, so that calling waitpid would close the handle to the "child" thread. If that's something that would interest you, [4]read Sarathy's mail.

Re: The State of The Unicode

2001-02-19 Thread Simon Cozens
On Mon, Feb 19, 2001 at 09:53:14PM -0500, Andrew Pimlott wrote: > Let me say first that the reason all of my pseudo-code has been "OO > crap" is that I'm trying to make it as painfully clear as I can > think to (yes, emphasis on pain). Since nobody else has yet > proposed any specific interfaces,

This week on perl5-porters (20--26 Feb 2001)

2001-02-28 Thread Simon Cozens
hy shut down gracefully? As Jarkko put it, "No point shaving in the morning if you are a kamikaze pilot?" Naturally, this lead to a discussion about the grooming habits of kamikaze. Sarathy said "yikes" again, although on an unrelated topic. Until next week I remain, your humble and obedient servant,

Re: use bytes; - what does/should it mean?

2001-03-12 Thread Simon Cozens
On Mon, Mar 12, 2001 at 12:56:50PM +, Nick Ing-Simmons wrote: > So at the risk of opening the flood-gates - what does p5p think > use bytes should do? At risk of being rude, haven't we done this *enough* times already now? Are you merely going to keep asking this question over and over unti

[PATCH] perlvar nit

2001-03-26 Thread Simon Cozens
Caught in passing: --- perlvar.pod~Tue Mar 27 01:11:12 2001 +++ perlvar.pod Tue Mar 27 01:11:33 2001 @@ -944,7 +944,7 @@ script is in the right range of versions. (Mnemonic: use ^V for Version Control.) Example: -warn "No "our" declarations!\n" if $^V and $^V lt v5.6.0; +war

This week on perl5-porters (02--08 Apr 2001)

2001-04-12 Thread Simon Cozens
n explained [7]what happens if you cross Black and White with Perl5-Porters. Until next week I remain, your humble and obedient servant, _ [8]Simon Cozens References 1. mailto:[EMAIL PROTECTED] 2. http://simon-cozens.org/writings/whos-who.html 3. http://www.cpan.org

How is $SIG{foo} magical?

2001-05-16 Thread Simon Cozens
I'm trying to implement a generic magical array system for special arrays, similar to magic_get/set/len for special scalars. However, I'm not quite sure how to transfer the magicalness onto the elements of an array. Here's what I have so far: EXT MGVTBL PL_vtbl_av= {0, 0, MEMBER_TO_FPTR(Perl_ma

Re: IOK vs pIOK

2001-05-24 Thread Simon Cozens
On Thu, May 24, 2001 at 03:17:02PM +0100, Dave Mitchell wrote: > Ahem - what tutorial is this? I think I've overlooked something rather > useful here! http://www.netthink.co.uk/downloads/beta/book1.html We rock. :) There's also PS/PDF versions at http://www.netthink.co.uk/downloads.html but they

Re: [FAQ-answer] How do I find what patch fixed my bug? (was: RE: bug 20010303.005 closed??)

2001-05-27 Thread Simon Cozens
On Sat, May 26, 2001 at 10:27:23PM -0700, Richard Soderberg wrote: > [p5p faq maintainer: if this question isn't already answered there, please add this. > thanks.] Added, also with notes about http://bugs.perl.org/ and the repository browser. -- And it should be the law: If you use the word `

[gretchen@oreilly.com: O'Reilly Open Source Convention - BOF schedule]

2001-07-18 Thread Simon Cozens
Evil Minds, Evil Ideas Moderator: Simon Cozens, NetThink Summary:Ever wanted to write B::Infocom? Ever parsed Javascript with Perl? Sick people swap sick Perl ideas in the hope that even sicker people will go and implement them. You can view the current BOF schedule on the O

Re: [PATCH] core-only patch for clamp/readonly hashes

2001-10-30 Thread Simon Cozens
On Tue, Oct 30, 2001 at 10:39:06AM -0800, Jeffrey Friedl wrote: > In order to not do floating point, I put it in as a union: Wow. How much are we screwing the core, for something that doesn't need to be in core at all? -- If computer science was a science, computer "scientists" would study what

Re: local ties?

2002-01-04 Thread Simon Cozens
On Sat, Jan 05, 2002 at 02:47:46AM +0530, Abhijit Menon-Sen wrote: > What should this code print? a. -- You will never find a more wretched hive of scum and villainy.

Re: Consistent C behaviour

2003-01-07 Thread Simon Cozens
[EMAIL PROTECTED] (Rafael Garcia-Suarez) writes: > Sudden visions of horror : > @HASH::ISA = qw(Dictionary); That would be rather good for Perl 6, but Dan appears to be claiming we won't get it. :) -- User: In 1793 the french king was executed. MegaHAL: HA HA HA! CORRECT. ALTHOUGH, EXEC