On 02/27/2016 08:38 PM, Brandon Allbery wrote:
[...] is what used to be (?:...), and <[...]> is what used to be [...].
Regexes have changed a *lot*, and you will really need to learn how they
work now; just hoping that things work just like perl 5 will not work.
My apologies for being a
I am trying to understand the differences in the way the 'split'
function works between Perl5 and Perl6.
Consider this string:
#
$str = q|This is a string to be split|;
#
Let's suppose I wish to split this string on the multi-character
delimiter string 'tri'. The results are the
On rosettacode.org there is an example of memoization for calculating
factorials in Perl 6 (contributed by Larry Wall):
constant fact = 1, |[\*] 1..*;
say fact[5];
How does one code that so that results are able to be reused by
multiple programs?
Thanks.
Cheers!
-Tom