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; } ;
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; } ;