# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #131766]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131766 >
It should be possible to specify the source address of outgoing (clie
I suggest keeping a separate installation of perl6 if you are going to
use it as root, and maintaining strict permissions by setting an
appropriate umask such as 0077 in root's ~/.profile
On 19 July 2017 at 10:53, Todd Chester wrote:
> Hi All,
>
> I have been wondering about pl programs that are
Hi All,
I have been wondering about pl programs that are
used by the root account. I have been marking them
to root and 700 to keep other out. But it is occurring
to me, if the bad guys have access to my custom modules,
they could insert anything they want into it and have
root access. So, I h
In my opinion, to decide whether it's a bug, you shouldn't look at the
implementation of [X] and [X*], but rather at its practical use.
In what cases would you use it, and what do you expect it to return when
your list of lists happens to be one list?
That's what I was trying to do with my exampl
In my opinion, to decide whether it's a bug, you shouldn't look at the
implementation of [X] and [X*], but rather at its practical use.
In what cases would you use it, and what do you expect it to return when
your list of lists happens to be one list?
That's what I was trying to do with my exampl
On Tue, 18 Jul 2017 07:45:16 -0700, joshu...@gmail.com wrote:
> My thinking is that doing `[X] ((3,2),)` is kinda like doing `[X]
> ((3,2),Empty)`...
Assuming I understand your analogy correctly, that's exactly what's *not*
happening, and is why this RT exists. See:
dd [X] 3, 2; # ((3
> ... it really would be great to find some way to "fix" this edge-case.
I don't think anything needs to be fixed. This is along the same vein as the
misguided thinking that `[Z] (3,2)` should yield `(2,3)`.
I also think the comparison to [*] is invalid since it operates on number-y
things, and
> On 18 Jul 2017, at 11:45, Mark Carter wrote:
>
>
>
> On 18/07/2017 09:53, Brent Laabs wrote:
>> Are you looking for grep()? https://docs.perl6.org/routine/grep
> Ah yes. Thanks for that.
> Pretty good:
>
> say ($schema.lines().map: &shlex-fields).grep: { .elems() > 0; } ;
say $schema.lines
On 18/07/2017 09:53, Brent Laabs wrote:
Are you looking for grep()? https://docs.perl6.org/routine/grep
Ah yes. Thanks for that.
Pretty good:
say ($schema.lines().map: &shlex-fields).grep: { .elems() > 0; } ;
How do I filter arrays?
So far I can do mapping:
say $schema.lines().map: &shlex-fields ;
How about filtering? I've loked at the docs, but it seems conspicuous by
its absence.
10 matches
Mail list logo