Re: How do I... tie hashes/arrays?

2005-04-19 Thread Leopold Toetsch
Larry Wall <[EMAIL PROTECTED]> wrote: > On Tue, Apr 19, 2005 at 02:02:41PM +, Ingo Blechschmidt wrote: >: # Possibility #2 >: multi sub *postcircumfix:<'[', ']'>(TiedArray $self, $index) { >: # Body as above >: } > None of those are quite right, because you have to be prepar

Re: alarm() and later()

2005-04-19 Thread Leopold Toetsch
Gaal Yahas <[EMAIL PROTECTED]> wrote: > Two things popped up while implementing a demo version of alarm() today. > 1. In perl5 and in most underlying libraries, alarm() has 1 second > granularity > 2. ..., in which you can > pass an optional closure to alarm() I can't say anything about the actu

Re: MMD roundup 2 - TODO and design items

2005-04-19 Thread Leopold Toetsch
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > TODO items and design issues And some more: 6) stringish MMD infix operators: concatenate, repeat The implementation takes either two strings, or one string and an integer repeat count. Again not much multi to dispatch IMHO. Missing: PMC variants of

Re: [svn:parrot] rev 7886 - in trunk: . config/gen/makefiles dynclasses languages/tcl/lib/commands languages/tcl/lib/macros

2005-04-19 Thread Leopold Toetsch
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > --- trunk/MANIFEST(original) > +++ trunk/MANIFESTTue Apr 19 16:51:10 2005 >@@ -50,7 +50,6 @@ > -classes/boolean.pmc [] I don't understand this change to MANIFEST. classes/boolean.pmc is for sure used, but $ p

Re: More registers

2005-04-19 Thread Gregor N. Purdy
Leo -- I had posted a program a while ago that generates large fake programs for testing such things. Did that not help? I think I still have it in my working directory if you'd like to have a peek at it... Regards, -- Gregor Dan Sugalski wrote: At 12:05 PM +0200 4/13/05, Leopold Toetsch wrote: As

Re: Perl 6 Summary for 2005-04-12 through 2005-04-19

2005-04-19 Thread Michele Dondi
On Tue, 19 Apr 2005, Matt Fowles wrote: Python on Parrot ^^ Kevin Tew wondered what the state of pyrate was. Sam Ruby provided a general explanation. (I'm not on all of the lists, so this may have come out before and I j

Pugs web memory game

2005-04-19 Thread =?ISO-8859-2?Q?B=C1RTH=C1ZI_Andr=E1s?=
Hi, For who didn't noticed it yet: I've committed a memory game into examples/cgi. As I know, this is the first Perl 6 web application. Have fun! Bye, Andras

State of the Tcl [r7890]

2005-04-19 Thread William Coleda
Still some GC bugs kicking around that neither Leo nor I have been able to find yet. (Note that the bug in [string] may actually be a PGE leak, as that code uses the glob rules). Failed TestStat Wstat Total Fail Failed List of Failed -

Re: Pugs SEGV

2005-04-19 Thread Aaron Sherman
On Wed, 2005-04-20 at 01:51 +0800, Autrijus Tang wrote: > On Tue, Apr 19, 2005 at 01:30:15PM -0400, Aaron Sherman wrote: > > I was playing around with pugs's interactive mode and didn't think about > > what I was typing. I just typed "?" out of force of semi-habit with CLI > > tools, and to my shoc

Perl 6 Summary for 2005-04-12 through 2005-04-19

2005-04-19 Thread Matt Fowles
Perl 6 Summary for 2005-04-12 through 2005-04-19 All~ Sadly, a slip of the mouse cause me to delete a partially completed summary, so I am going to push ahead on the rewrite without a witty intro. Feel free to make one up for yourself involving stuffed animals, musicians, and d

Re: [perl #34548] [TODO] Replace classes/pmc2c.pl with classes/pmc2c2.pl

2005-04-19 Thread Matt Diephouse
Bernhard Schmalhofer via RT <[EMAIL PROTECTED]> wrote: > Applied the patch. with some fiddling. > Matt: Could you check whether all changes are in? Looks good to me. Thanks. -- matt diephouse http://matt.diephouse.com

Re: Module and package version numbering

2005-04-19 Thread Adrian Howard
On 19 Apr 2005, at 11:40, David Cantrell wrote: [snip] The script that generates it doesn't change. The data that it mangles into a module is the bit that changes. Can you add a version number to the data? So I'll take the suggestion of putting MMDD into a version number. But then wasn't the

[perl #34548] [TODO] Replace classes/pmc2c.pl with classes/pmc2c2.pl

2005-04-19 Thread Bernhard Schmalhofer via RT
> > >> Either pmc2c.pl should be deleted or pmc2c2.pl should be renamed to > > >> pmc2c.pl. > > > > > A better location might be 'build_tools/pmc2c.pl > > > Attached is a patch that does just that, including appropriate > documentation changes. Note that these changes involved using 'svn rm' > an

Re: [perl #35043] AutoReply: [PATCH] capture_output with stderr

2005-04-19 Thread Ron Blaschke
Bummer, forgot to attach the patch. Here it is. capture_output_with_stderr.patch Description: Binary data

[perl #35043] [PATCH] capture_output with stderr

2005-04-19 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #35043] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35043 > C only handles stdout, but at least on Windows the versions of Python and ANTLR are rep

[perl #35042] problems configuring

2005-04-19 Thread via RT
# New Ticket Created by Lambeck # Please include the string: [perl #35042] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35042 > Hi all, now that the problem concerning gmp is resolved I noticed 2 other problems: 1. antl

Re: [perl #35041] [PATCH] SVN targets

2005-04-19 Thread chromatic
On Tue, 2005-04-19 at 09:38 -0700, Francois PERRAD wrote: > For top Makefile : conversion CVS targets to SVN. Thanks, applied. -- c

Re: Pugs SEGV

2005-04-19 Thread Autrijus Tang
On Tue, Apr 19, 2005 at 01:30:15PM -0400, Aaron Sherman wrote: > I was playing around with pugs's interactive mode and didn't think about > what I was typing. I just typed "?" out of force of semi-habit with CLI > tools, and to my shock Pugs SEGVed. Now, I realize that this wasn't > valid input, bu

[perl #35041] [PATCH] SVN targets

2005-04-19 Thread via RT
# New Ticket Created by Francois PERRAD # Please include the string: [perl #35041] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35041 > For top Makefile : conversion CVS targets to SVN. Francois Perrad. svn.patch Desc

Pugs SEGV

2005-04-19 Thread Aaron Sherman
I was playing around with pugs's interactive mode and didn't think about what I was typing. I just typed "?" out of force of semi-habit with CLI tools, and to my shock Pugs SEGVed. Now, I realize that this wasn't valid input, but still... a SEGV seems like an odd response. The really frustrating p

Re: How do I... tie hashes/arrays?

2005-04-19 Thread Larry Wall
On Tue, Apr 19, 2005 at 02:02:41PM +, Ingo Blechschmidt wrote: : Hi, : : quoting an old post from Luke (http://xrl.us/ftet): : > Cing is going to work quite differently, from what I hear. : > So it might be possible to overload any function to call a : > special version when your type

Re: statement modifiers for setting variables

2005-04-19 Thread Larry Wall
On Mon, Apr 18, 2005 at 06:01:48PM -0700, Dave Whipp wrote: : The following is legal perl: : : print "$a $b $c" if ($a,$b,$c)=(1,2,3); : : This prints "1 2 3", but the definitions obviously aren't scoped to the : modified statement. And a C in the modifier is a bit too late. : : Any reason to

Re: Context of hash slices; quotation adverbs

2005-04-19 Thread Larry Wall
On Tue, Apr 19, 2005 at 02:14:04AM +0300, wolverian wrote: : On Mon, Apr 18, 2005 at 04:00:53PM -0700, Larry Wall wrote: : > %num_of_lines = [EMAIL PROTECTED]; : > : > : because the Perl 5 way would put a reference to @file in the hash. : > : Scalar context always makes references now, from wh

How do I... tie hashes/arrays?

2005-04-19 Thread Ingo Blechschmidt
Hi, quoting an old post from Luke (http://xrl.us/ftet): > Cing is going to work quite differently, from what I hear. > So it might be possible to overload any function to call a > special version when your type of array is used. You just have > to write all the special versions. S

Re: [svn:parrot] rev 7864 - trunk/dynclasses

2005-04-19 Thread Leopold Toetsch
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > void class_init() { > + PMC *just_a_hack; Well, this isn't just a hack, but an offical way to register objects within the Parrot DOD registry. leo

Re: Module and package version numbering

2005-04-19 Thread David Cantrell
Adrian Howard wrote: On 18 Apr 2005, at 17:03, David Cantrell wrote: Number::Phone::UK::Data - no version, this is where the .0004 comes from though. It has no version number because the entire file is generated from a *really* dumb

Re: Context of hash slices; quotation adverbs

2005-04-19 Thread wolverian
On Mon, Apr 18, 2005 at 04:00:53PM -0700, Larry Wall wrote: > %num_of_lines = [EMAIL PROTECTED]; > > : because the Perl 5 way would put a reference to @file in the hash. > : Scalar context always makes references now, from what I understand. > > Interestingly, a stored reference would track t