Re: [perl #38201] Integer pmc doesn't make store an int

2006-01-11 Thread Leopold Toetsch
Joshua Isom (via RT) wrote: Given the code .sub main :main $N0 = 3.14 $P0 = new .Integer $P0 = $N0 print $P0 print \n .end this will print 3.14, not 3. The same occurs if using an S register instead of an N register. This is with the latest revision. Yep. That's

Re: How to best have statements execute only during dev/testing?

2006-01-11 Thread Andrew Savige
--- A. Pagaltzis wrote: Additive filters that the same code can run without are sane when used carefully, and they're easy to create if the trigger is a special comment or better yet POD section: Damian's Smart::Comments module filters specially formatted comments and can do assertions and

[perl #38123] [TODO] build - change genfile() interpolation syntax

2006-01-11 Thread Joshua Hoblitt via RT
[EMAIL PROTECTED] - Sun Jan 01 18:44:33 2006]: Parrot::Configure::Step::genfile() currently interpolates values in the format ${foo}. This is undesirable because ${ BAREWORD } is valid perl5 syntax and in make files it looks uncomfortable similar to $(foo). It should be changed to @foo@

[perl #38189] [TODO] sort out CPAN modules incorrectly owned by Parrot

2006-01-11 Thread Joshua Hoblitt via RT
Please reopen this bug if we're still screwing up the CPAN indexer after the next release. Thanks for bringing up this issue. Cheers, -J --

Re: How to best have statements execute only during dev/testing?

2006-01-11 Thread Matisse Enzer
On Jan 10, 2006, at 8:36 AM, dakkar wrote: This entry in BooK's use.perl journal might help you: http://use.perl.org/~BooK/journal/25445 Thanks - that is a helpful idea. --- Matisse Enzer [EMAIL PROTECTED] http://www.matisse.net/ -

Re: How to best have statements execute only during dev/testing?

2006-01-11 Thread Matisse Enzer
On Jan 11, 2006, at 4:15 AM, Andrew Savige wrote: Damian's Smart::Comments module filters specially formatted comments and can do assertions and quite a lot more. I especially like the idea of filtered comments - rather elegant solution. Also, we've given some thought to the issue of

Re: [perl #38146] [TODO] OS.pmc - file copy

2006-01-11 Thread Joshua Juran
On Jan 10, 2006, at 10:29 PM, Chip Salzenberg wrote: On Sat, Jan 07, 2006 at 01:04:29PM -1000, Joshua Hoblitt wrote: ... More sophisticated behavior, like metadata replication, should be left to another method (perhaps syscopy()) that has platform specific behavior(s). My first thought

how to detect that we're running under CPAN::Testers?

2006-01-11 Thread Tyler MacDonald
Hello, Is there any way to tell if my package is being tested automatically under CPAN::Testers? Here's the situation: I have a DBI extension (DBIx::Transaction) whose unit tests currently depend on a valid DSN being available. SQLite makes a good testbed for mock databases, so

Re: [perl #38146] [TODO] OS.pmc - file copy

2006-01-11 Thread Chip Salzenberg
On Wed, Jan 11, 2006 at 04:16:55PM -0500, Joshua Juran wrote: Since before System 7 (approaching two decades ago), Mac OS has had a system call that exchanges the contents of two files. The purpose of this call is to implement a 'safe save' strategy ... Is this still a system call in Mac OS

Re: [perl #38146] [TODO] OS.pmc - file copy

2006-01-11 Thread Joshua Juran
On Jan 11, 2006, at 7:02 PM, Chip Salzenberg wrote: On Wed, Jan 11, 2006 at 04:16:55PM -0500, Joshua Juran wrote: Since before System 7 (approaching two decades ago), Mac OS has had a system call that exchanges the contents of two files. The purpose of this call is to implement a 'safe save'

Re: how to detect that we're running under CPAN::Testers?

2006-01-11 Thread Sébastien Aperghis-Tramoni
Tyler MacDonald wrote: Hello, Is there any way to tell if my package is being tested automatically under CPAN::Testers? For CPAN smokers based on CPAN::YACSmoke, the answer is: test the presence of the AUTOMATED_TESTING environment variable. See also the following page for more

Perl 6 Summary for 2006-01-02 though 2006-01-09

2006-01-11 Thread Matt Fowles
Perl 6 Summary for 2006-01-02 though 2006-01-09 All~ Welcome to another Perl 6 Summary. On a complete tangent, if you are playing World of Warcraft and see a troll hunter named Krynna, she rocks. She royally saved me. Be nice to her. Perl 6 Compiler PIL Containers and Roles

Re: how to detect that we're running under CPAN::Testers?

2006-01-11 Thread Tyler MacDonald
Sébastien Aperghis-Tramoni [EMAIL PROTECTED] wrote: For CPAN smokers based on CPAN::YACSmoke, the answer is: test the presence of the AUTOMATED_TESTING environment variable. See also the following page for more details: http://search.cpan.org/dist/CPAN-YACSmoke/lib/CPAN/YACSmoke/FAQ.pod

Re: how to detect that we're running under CPAN::Testers?

2006-01-11 Thread Sébastien Aperghis-Tramoni
Tyler MacDonald wrote: Sébastien Aperghis-Tramoni [EMAIL PROTECTED] wrote: For CPAN smokers based on CPAN::YACSmoke, the answer is: test the presence of the AUTOMATED_TESTING environment variable. See also the following page for more details:

t/library/getopt_obj.t fails on amd64/linux

2006-01-11 Thread Joshua Hoblitt
$ perl t/harness t/library/getopt_obj.t t/library/getopt_objNOK 13 # Failed test (t/library/getopt_obj.t at line 559) # got: 'argv = ResizablePMCArray (size:7) [ # --ignored, # -i, # --ignored=hello, # argv, # stay, # -, # with me # ] # return = Hash {

[perl #38208] Can't Escape Single Quotes in Strings

2006-01-11 Thread via RT
# New Ticket Created by Matt Diephouse # Please include the string: [perl #38208] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38208 Backslashes don't escape single quotes in strings: [EMAIL

[perl #38209] t/library/getopt_obj.t fails on amd64/linux

2006-01-11 Thread via RT
# New Ticket Created by Joshua Hoblitt # Please include the string: [perl #38209] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38209 - Forwarded message from Joshua Hoblitt [EMAIL PROTECTED] - From:

[perl #38212] [TODO] improve smoke server layout

2006-01-11 Thread via RT
# New Ticket Created by Joshua Hoblitt # Please include the string: [perl #38212] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38212 The layout currently looks something like this: -- repository snapshot /

Re: Lua2PIR translator

2006-01-11 Thread François PERRAD
At 17:39 10/01/2006 +0100, Klaas-Jan Stol wrote: Hi, As you know, I've been playing with Lua for some time now, and my attempt to write a Lua compiler targetting Parrot has not been completely unsuccessful, but it was quite some work. Anyway, at some point I realized that PIR looks very