Ah yeah, that would do it then! Thanks so much!
On Wed, Mar 22, 2017, 11:55 AM Brandon Allbery wrote:
> On Wed, Mar 22, 2017 at 2:50 PM, Chris Ramsey
> wrote:
>
> my $str = "some string with 'text' in it and more text";
> say $str.subst(/'.*'/, "'m'", :g);
>
> When running this code, I get the
On Wed, Mar 22, 2017 at 2:50 PM, Chris Ramsey wrote:
>
> my $str = "some string with 'text' in it and more text";
> say $str.subst(/'.*'/, "'m'", :g);
>
> When running this code, I get the original string back, which makes me
> think my regex isn't quite right.
>
> Basically I want to replace anyt
Hey all,
I'm working on learning Perl 6 and am trying to write a little utility that
will do a simple search and replace. Could knock this out in a few other
languages quickly, but I really want to get to know Perl 6 better :)
Anyway, so here's some pseudocode that I need some help writing.
my $
I can't help but think that binding a state variable should be illegal, and
doing so will have unexpected effects.
On Wed, Mar 22, 2017 at 1:48 PM, Zoffix Znet
wrote:
> # New Ticket Created by Zoffix Znet
> # Please include the string: [perl #131043]
> # in the subject line of all future corre
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #131043]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131043 >
$ perl6 -v
This is Rakudo version 2017.03-20-g027aa54 built on MoarVM version
201
# New Ticket Created by Will Coleda
# Please include the string: [perl #131041]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131041 >
Trying to use a non-existing module that matches a distribution name
generates useless dia
On Wed, Mar 22, 2017 at 9:44 AM, JuhiMarcel LangbroekTimmerman <
mt195...@gmail.com> wrote:
> As a side note I would test for existence only using .e because a
> directory could exist by that same name. Method .f would return False
> following an attempt to create a file which will fail.
Depen
As a side note I would test for existence only using .e because a directory
could exist by that same name. Method .f would return False following an
attempt to create a file which will fail.
Marcel
On March 21, 2017 12:28:13 Philip Hazelden wrote:
$PathAndName.IO.f or $PathAndName.IO.open(
I think the strict answer to 'Is it correct?' is 'No'.
The point being that 'my $x' gives $x type 'Any'.
But practically, having type Any allows for $x to be assigned any value,
be it Str, Int etc.
So 'practically' the answer to 'Is it correct?' is 'Yes'.
On Wednesday, March 22, 2017 02:07 P