Re: Trying to use Perl5 modules

2006-09-10 Thread Trey Harris
In a message dated Mon, 11 Sep 2006, Richard Hainsworth writes: I am trying to find out how to use (in perl6) perl5 modules that contain subroutines. Imports from Perl 5 modules don't currently work. You can workaround this using .can, see below. use perl5:Time::gmtime; my $gm = gmtime(); p

Trying to use Perl5 modules

2006-09-10 Thread Richard Hainsworth
I am trying to find out how to use (in perl6) perl5 modules that contain subroutines. Here are two scripts from standard modules. Both work in perl5, but I cant find a way to use them using pugs (I am using the Debian package with version 6.2.10-4build1 on GNU/Linux/Ubuntu) use strict; use

Reduced assignment operator?

2006-09-10 Thread Audrey Tang
Consider these cases: [=] $x, $y, $z; [+=] $a, $b, $c; S03 is currently inconsistent. It first says these are not supported: The final metaoperator in Perl 6 is the reduction operator. Any infix operator (except for non-associating operators and assignment operators) can be surrounded

Inf appears to be unspec'ed

2006-09-10 Thread Mark Stosberg
The formal definition of "Inf" appears to be missing from the spec documents. Since I'm not exactly sure how Perl 6 treats "Inf", I'll leave submitting this patch to someone else. Once the spec is added, a smart link to it should be added from: t/builtins/math/infinity.t Mark

Re: the CGI.pm in Perl 6

2006-09-10 Thread Trey Harris
In a message dated Sat, 9 Sep 2006, Mark Stosberg writes: I do share your sentiment that CGI.pm shouldn't be a clone of how P5 works. I'd like the HTML building methods to stay out, which wasn't even one of the differences you cared about yourself. I agree with the sentiment, but as a practical

[svn ci] apps/p3

2006-09-10 Thread Leopold Toetsch
Hi parroteers, I've checked in my recent work to create a parrot-based slides presentation program. See also: - apps/p3/README - apps/p3/p3p.html - http://use.perl.org/~leo/journal/ - UTSL Any improvements for slides or httpd2.pir (and HTTP classes) are of course very welcome, leo

Re: the CGI.pm in Perl 6

2006-09-10 Thread Trey Harris
In a message dated Sat, 9 Sep 2006, Mark Stosberg writes: I do share your sentiment that CGI.pm shouldn't be a clone of how P5 works. I'd like the HTML building methods to stay out, which wasn't even one of the differences you cared about yourself. I agree with the sentiment, but as a practical

Weekly Perl 6 mailing list summary for 2-9 September, 2006

2006-09-10 Thread Ann Barcomb
Language multi method dispatching of optional arguments Mark Stosberg wanted the specifications to address what should happen in MMD when optional arguments are present (S12). He patched `mmd-draft.txt` and sent the text to the newsgroup. Luke Palmer offer