On Sun, Mar 15, 2015 at 2:55 PM, Timo Paulssen wrote:
...
Thanks, Timo! Subroutine arg handling is an awkward but very exciting
improvement for an old but non-expert Perl 5 user.
Very briefly, how does one properly translate this to Perl 6:
sub foo {my @a = @_; }
Best,
-Tom
On 03/15/2015 08:48 PM, Tom Browder wrote:
> The initial part of the code for the offending method definition is:
>
> method set_custom_ellipsoid
> {
> my ($name, $major, $recip) = @_;
> $name = uc $name;
> $recip = 0 unless defined $recip;
> if ($major) {
> %ellipsoids{$name} = [ $major, $recip
On Sat, Mar 14, 2015 at 5:19 PM, Tom Browder wrote:
> I am trying to convert a fairly simple Perl 5 program and supporting
> modules to Perl 6 and making slow progress.
I have made much progress since Moritz showed me how to use perl6-m.
Now I have come to a point where I haven't yet found what
sed to show how little progress I've made.
> > 2. A pointer to perl 6 debugging.
> * use the MoarVM backend :-)
Okay...
> * For runtime errors, https://github.com/jnthn/rakudo-debugger/ can help
> you.
>
Okay...
Thanks so much, Moritz Now I have more tools to move along to my goal.
Warmest regards,
-Tom
ix
Which is because my() (with parens immediately after the 'my') is being
interpreted as a subroutine call, not a declarator.
Somehow, this still very much looks like Perl 5 code to me :-)
> 2. A pointer to perl 6 debugging.
* use the MoarVM backend :-)
* For runtime errors, https://github.com/jnthn/rakudo-debugger/ can help
you.
Cheers,
Moritz
On Mar 14, 2015 6:46 PM, "yary" wrote:
>
> For some reason your github link comes up as an empty page when I click
on it. I was able to find it here:
>
> https://gist.github.com/search?q=test_ellipsoid.pl
I've never used gist.github.com before and probably murfled it. There
should be a single re
For some reason your github link comes up as an empty page when I click on
it. I was able to find it here:
https://gist.github.com/search?q=test_ellipsoid.pl
-y
ub.com/08e881d7f1c7a7072dc9.git
I don't expect anything more than:
1. The offending statement.
2. A pointer to perl 6 debugging.
Thanks!
Best,
-Tom
> On 14 Mar 2015, at 23:19, Tom Browder wrote:
>
> I am trying to convert a fairly simple Perl 5 program and supporting
> modules to Perl 6 and making slow progress.
>
> Executing 'perl6 -v':
>
> This is perl6 version 2015.02-247-gab55cb7 built on MoarVM version
> 2015.02-25-g3d0404a
>
> I am
I am trying to convert a fairly simple Perl 5 program and supporting
modules to Perl 6 and making slow progress.
Executing 'perl6 -v':
This is perl6 version 2015.02-247-gab55cb7 built on MoarVM version
2015.02-25-g3d0404a
I am trying to get something equivalent to Carp to show me the exact
fai
10 matches
Mail list logo