Re: while(<>){...} analog?

2019-08-01 Thread Bruce Gray
> On Aug 1, 2019, at 10:49 PM, William Michels via perl6-users > wrote: > > Hi Richard, I'm trying to figure out when the parentheses in 'lines()' > can be dropped, and 'lines' used instead. Any pointers? —snip— Parens will be required when `lines` is a sub call (as opposed `.lines` method

Re: while(<>){...} analog?

2019-08-01 Thread William Michels via perl6-users
Hi Richard, I'm trying to figure out when the parentheses in 'lines()' can be dropped, and 'lines' used instead. Any pointers? I have about nine or so working examples below, but formulating a clear rule-of-thumb is proving elusive. Any help appreciated, --Best, Bill. # test file: six_fruits1.txt

Re: while(<>){...} analog?

2019-08-01 Thread Shlomi Fish
On Wed, 31 Jul 2019 14:28:11 -0700 William Michels via perl6-users wrote: > Hi Patrick, I used both your examples as perl6 one-liners. I'm not > sure why, but I had to change .split(':') either to .split(":") or > .split(/\:/) for both example to work. Maybe it's a command-line > thing? Possibly

Re: module availability problem

2019-08-01 Thread Marcel Timmerman
Hi Elizabeth, I've never studied App::Mi6 but what I read in the Readme, this program is only a part of what Mi6 does (mi6 release). Have not looked at the code. How does that compare to App::Mi6 ?? (which also uses CPAN::Uploader::Tiny, btw). On 31 Jul 2019, at 20:08, Marcel Timmerman