Re: more match humility

2017-03-14 Thread ToddAndMargo
On 03/14/2017 12:02 AM, Brent Laabs wrote: I'm not sure what you mean by lexiconical. I can't find any references to it in the official perl documentation (which would technically be lexicanonical, right?). The joke was that everything you did not understand was lexiconical. But if you're ta

Re: more match humility

2017-03-14 Thread Brent Laabs
I'm not sure what you mean by lexiconical. I can't find any references to it in the official perl documentation (which would technically be lexicanonical, right?). But if you're talking about lexical scope, then yeah, Perl 6 enforces that even more than Perl 5 does by default. On Mon, Mar 13, 20

Re: more match humility

2017-03-13 Thread ToddAndMargo
On 03/13/2017 10:20 PM, Brandon Allbery wrote: Just to be a little more clear about what is happening here: Perl 5 tended to treat things as strings if you use them as strings, or as numbers if you use them as numbers. Perl 6 is more strict about that, but makes an exception for specifically num

Re: more match humility

2017-03-13 Thread Brandon Allbery
Just to be a little more clear about what is happening here: Perl 5 tended to treat things as strings if you use them as strings, or as numbers if you use them as numbers. Perl 6 is more strict about that, but makes an exception for specifically numbers and strings; if you have noticed the class "

Re: more match humility

2017-03-13 Thread ToddAndMargo
On 03/13/2017 09:16 PM, ToddAndMargo wrote: What am I doing wrong now !?!?! :'( :'( :'( #!/usr/bin/perl6 sub Test () { my $f = $?FILE; say "\$\?FILE=<$f>"; my $g = $?FILE.IO.basename; say "\$\?FILE.IO.basename=<$g>"; ( my $IAm = $?FILE ) ~~ s|.*"/"||; say "Regex \$IAm=<$IAm>";