You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
code:
sub first-is-largest(@a){
my :($first, *@rest ) := \(|@a)
return $first >= all(@rest);
}
can not run ,error message:
===SORRY!=== Error while compiling unpacking.p6
Malformed my
at unpacking.p6:4
------> my �:($first, *@rest ) := \(|@a)
expecting any of:
scoped declarator
perl6 --version
This is perl6 version 2014.09 built on MoarVM version 2014.09
On Mon Oct 06 01:35:47 2014, songwentai@linuxdeepin.com wrote:
UsingPerl6-draft.pdf
page 47
4.8 Unpacking
code:
sub first-is-largest(@a){
my :($first, *@rest ) := \(|@a)
return $first >= all(@rest);
}
can not run ,error message:
===SORRY!=== Error while compiling unpacking.p6
Malformed my
at unpacking.p6:4
------> my �:($first, *@rest ) := \(|@a)
expecting any of:
scoped declarator
perl6 --version
This is perl6 version 2014.09 built on MoarVM version 2014.09
Migrated from rt.perl.org#122917 (status was 'resolved')
Searchable as RT122917$
The text was updated successfully, but these errors were encountered: