On 02/04/2017 01:09 AM, Brent Laabs wrote:
I think you're looking for &?ROUTINE. &?BLOCK is also related.
https://docs.perl6.org/language/variables#index-entry-%26%3FROUTINE
Hi Brent,
Awesome reference on variables! Thank you! (I copied it down.)
-T
--
~~~
Havi
On 2017-02-04 12:34 AM, ToddAndMargo wrote:
Hi All,
Just out of curiosity, in Perl 6 can a subroutine call itself?
-T
I am fighting with a broken Net:FTP::rmdir in Perl 5 that
will not recuse as advertised (it is very intermittent).
And I can not use Net::Ftp in Perl 6 as it is hosed and
s
On Sat, 04 Feb 2017 16:36:21 -0800, jeff.lina...@gmail.com wrote:
> I type this into the REPL:
>
> loop (my $i = 10; $i > 0; $i--) { say $i; }
>
> It loops and then crashes:
>
> 10
> 9
> 8
> 7
> 6
> 5
> 4
> 3
> 2
> 1
> Type check failed in binding to $value; expected Any but got Mu (Mu)
> in a
On Fri, 03 Feb 2017 21:20:59 -0800, g...@google.com wrote:
> See the following gist:
>
> https://gist.github.com/japhb/40772099ed24e20ec2c37c06f434594b
>
> (If you run that at the command line, you'll probably want to pipe it to
> `head -30` or so; it will output a lot of lines very quickly!)
looks similar to: https://rt.perl.org/Public/Bug/Display.html?id=130535
require seems to be pretty broken since the lexical module thing.
Unfortunately our tests weren't good enough to pick this up ( I think it's
because it's being required dynamically outside the mainline).
LL
On Sat, Feb 4, 20
I think you're looking for &?ROUTINE. &?BLOCK is also related.
https://docs.perl6.org/language/variables#index-entry-%26%3FROUTINE
On Sat, Feb 4, 2017 at 12:51 AM, Darren Duncan
wrote:
> Any decent programming language supports self-recursion, where a
> subroutine may invoke itself. Perl 6 ex
Any decent programming language supports self-recursion, where a subroutine may
invoke itself. Perl 6 explicitly also supports this, and even has a special
keyword for a routine to refer to itself without knowing its own name,
especially useful for anonymous subs; I don't remember that keyword
Hi All,
Just out of curiosity, in Perl 6 can a subroutine call itself?
-T
I am fighting with a broken Net:FTP::rmdir in Perl 5 that
will not recuse as advertised (it is very intermittent).
And I can not use Net::Ftp in Perl 6 as it is hosed and
so is the Inline.
And it seems that Perl 5 does