in reply to Wanted: Perl 6 Programmers
Should I just note what I tried which did not work, such as that any use of a hyper-assignment-operator (e.g. @a ^+= @b; ) causes a runtime exception:
Died at P6C/Util.pm line 72.
Or should I submit it as a testcase? Is there some way to indicate that the test is expected to fail?
And how to we check if something has already been reported, or what the current plans are to get rid of the sub main() requirement?output_is(<<'CODE', <<'OUT', "string interpolation"); sub main () { $z = 1; @a = (1..3); $z1 = @a; #currently outputs: z=($z) a=() \=@a=($z1) print "z=($z) a=(@a) \$z1=\@a=($z1)\n"; } CODE z=(1) a=(1 2 3) $z1=@a=(3) OUT
You give your email address as the contact point for the compiler, so I guess that means we should send bug reports directly to you. (unless they are disguised as a request for clarification on how to report them...)
One final test case, and I'll stop.
output_is(<<'CODE', <<'OUT', "concatenation chain"); sub main() { @a = (2,4,8); print @a _ "\n"; # OK: 3 print @a ^_ "\n"; # OK: 2\n4\n8\n print @a ^_ "\t" _ "\n"; # BAD: '' print (@a ^_ "\t"); # OK: 2\t4\t8\t print "next\n"; print "--" _ (@a ^_ "\t"); # BAD: -- print "next\n"; print ((@a ^_ "\t") _ "\n"); # BAD: '' print "stop\n"; } CODE 3 2 4 8 2 4 8 2 4 8 next --2 4 8 next 2 4 8 stop OUT
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Wanted: Perl 6 Programmers
by educated_foo (Vicar) on Sep 06, 2002 at 07:35 UTC | |
by sharkey (Scribe) on Sep 06, 2002 at 13:56 UTC |