|Subject:||[BUG] Can't do .trans on result of qx in Rakudo|
|Date:||Sat, 6 Nov 2010 19:47:58 +0100|
|To:||rakudobug [...] perl.org|
|From:||Carl Mäsak <cmasak [...] gmail.com>|
$ perl6 -v This is Rakudo Perl 6, version 2010.10-10-g142d220 built on parrot 2.9.1 r49786 Copyright 2008-2010, The Perl Foundation $ perl6 -e 'my $s = qx[echo foo]; say $s.trans("o" => "u")' too few positional arguments: 2 passed, 3 (or more) expected in main program body at line 1 This is a recurring bug with many shapes and forms, most of which have been fixed already. I guess qx returns something that's a Parrot string, not a Perl 6 string, and Parrot strings happen to have a .trans method too, but it has a different signature.