# New Ticket Created by Kishore
# Please include the string: [perl #112650]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112650 >
Hello Rakudo,
[krelangi@adc2190190 rakudo-star-2012.04]$ ./perl6 --version
This is perl6 version 2012.04.1 built on parrot 4.3.0 revision 0
./per6 is throwing error if method call has a white space between it's name
and open parenthesis.
use v6;
my $file = open ("scores");
my @names = $file.get.words;
my %matches;
my %sets;
for $file.lines -> $line
{
my ($players, $scores) = $line.split (' | '); # Causing error
my ($pairing, $result) = $line.split(' | '); # working
}
Thanks & Regards
91-97012-13199.
Success is never permanent....Failure is never final....
So, always do not stop effort until your victory makes a history...!