Re: Scalability of Devel::Cover

2005-06-22 Thread Kevin Scaldeferri
On Jun 21, 2005, at 5:59 PM, Geoffrey Young wrote: This seems unfortunate for at least two reasons: 1) it ends up taking a really long time to run the tests. At some point, maybe long enough that nightly tests become prohibitive (even more so for continuous integration). We have a substa

Re: AUTLOAD and $_

2005-06-22 Thread Maxim Sloyko
Juerd wrote: sub AUTOLOAD ($whatever) { # but no *[at]_ my $s = get_subref_for $whatever; our &::($whatever) := $s; return sub () { 1 }; Then the subref will not be executed, and the bug will very quickly be discovered. I don't see any problem with this. Can we do "return un

Re: AUTLOAD and $_

2005-06-22 Thread Juerd
Rod Adams skribis 2005-06-21 20:08 (-0500): > Should we then perhaps rename it to: DEPRECATED_PERL5_AUTOLOAD ? That sounds like a good idea. In fact, a pragma to enable it would not be a bad idea either, IMO. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_h

Re: AUTLOAD and $_

2005-06-22 Thread Juerd
Maxim Sloyko skribis 2005-06-22 14:27 (+0400): > Can we do "return undef" in this case? I mean. can undef mean a no-op > in subref context? That's a rather false value. I hope undef is not executable. It's a much better idea to special case empty closures, IMO. Juerd -- http://convolution.nl/

Re: AUTLOAD and $_

2005-06-22 Thread chromatic
On Tue, 2005-06-21 at 20:08 -0500, Rod Adams wrote: > Should we then perhaps rename it to: DEPRECATED_PERL5_AUTOLOAD ? Poster 1: I hate it! Poster 2: I love it! Poster 3: How about PERL_5_AUTOLOAD_DO_NOT_USE? Poster 4: That's a stupid feature to add! Poster 5: That's too much to type! Isn't

Indexing hashtables

2005-06-22 Thread Klaas-Jan Stol
hi, I have some trouble indexing hashtables. I have the following code snippet: .sub main .local pmc x x = new .Hash .local pmc y y = new .Hash x["y"] = y $P10 = new .Integer $P10 = 1 x["y;a"] = $P10 # (1) this does not

Re: Indexing hashtables

2005-06-22 Thread Joshua Juran
On Jun 22, 2005, at 2:25 PM, Klaas-Jan Stol wrote: I have some trouble indexing hashtables. I have the following code snippet: x["y;a"] = $P10 # (1) this does not work with the code below y["a"] = $P10 # (2) this does work with the code below x.y.a = 1; print(x.y.a); x and y

[perl #36367] [BUG] Parrot doesn't compile/install on FC4

2005-06-22 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #36367] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36367 > --- osname= linux osvers= 2.4.21-27.0.2.elsmp arch= i386-linux-thread-multi cc=

Re: Indexing hashtables

2005-06-22 Thread Leopold Toetsch
Klaas-Jan Stol wrote: x["y;a"] = $P10 # (1) this does not work with the code below You want: x["y"; "a"] = $P10 leo