Tip: cannot unbox to a native string: P6opaque, Failure

2017-07-14 Thread ToddAndMargo
Hi All, I just recently upgraded from Fedora Core 25 to 26. Several of my programs were broken whit the following. Our intrepid heroes over on the chat line gave me this workaround whilst they fix Rakudo. ./WordProTimeAdd.pl6 ===SORRY!=== This type cannot unbox to a native

Re: Is there a bash/shlex-like processor with double-quotes handling?

2017-07-14 Thread Mark Carter
On 14/07/2017 15:23, Lucas Buchala wrote: Alternatively, the «...» builtin operator already does some kind of word splitting respecting quotes, if that fits your needs: Thanks. I take it you are referring to the "hyper" operator (?) It looks good, but it doesn't quite work: my $d =

Log::Any performances

2017-07-14 Thread Julien Simonet
Hello, My question is about Log::Any and performances. When Log::Any was integrated into Bailador, a problem of performances was found (https://github.com/jsimonet/log-any/issues/1). Log::Any is a class using the singleton pattern, which have a list of Log::Any::Pipeline instances as a

Re: Is there a bash/shlex-like processor with double-quotes handling?

2017-07-14 Thread Elizabeth Mattijsen
zef install Text::CSV This is a native port of Perl 5’s Text::CSV by the original author. > On 14 Jul 2017, at 11:12, Philip Hazelden wrote: > > If you haven't yet, you might want to look into a CSV parser. I think that if > you configure one of those to split on

Re: Is there a bash/shlex-like processor with double-quotes handling?

2017-07-14 Thread Philip Hazelden
If you haven't yet, you might want to look into a CSV parser. I think that if you configure one of those to split on whitespace, that should give you the results you want. (Now with added reply all.) On Fri, 14 Jul 2017, 08:42 Mark Carter, wrote: > Is there a function

Is there a bash/shlex-like processor with double-quotes handling?

2017-07-14 Thread Mark Carter
Is there a function that can decompose a string to an array separated by whitespace, but also respecting double quotes, and prefereably escape sequences? So, for example: my $d="hello \"cruel world\""; something-something($d) ; => ("hello", "cruel world")