Announce: Rakudo Perl 6 compiler, Release 2019.07.1

2019-07-28 Thread Aleks-Daniel Jakimenko-Aleksejev
On behalf of the Rakudo development team, I'm announcing an out-of-schedule release of the Rakudo Perl 6 compiler. Rakudo is an implementation of Perl 6 on the Moar Virtual Machine[^1]. This release is a point release in addition to the regular releases. Rakudo 2019.07 (note: no .1) was discovered

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

2019-07-28 Thread Joseph Brenner
I was just wondering if there's some direct analog in perl6 to the perl5 construct: while(<>){ ... } If I'm planning on passing a filename on the command-line, I can just get it out of $*ARGFILES easily enough, but what if I also wanted it to work on lines passed in via standard input?

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

2019-07-28 Thread Bruce Gray
> On Jul 28, 2019, at 6:20 PM, Joseph Brenner wrote: > > I was just wondering if there's some direct analog in perl6 to the > perl5 construct: > > while(<>){ ... } > > If I'm planning on passing a filename on the command-line, I can just > get it out of $*ARGFILES easily enough, but what if

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

2019-07-28 Thread Joseph Brenner
> Hmmm. I would expect that to be in the Perl 5 to Perl 6 Migration Guides, but > I do not see it there. Exactly, I was just looking there, and I ended up playing around with the method form of lines, and didn't think to try the function form of it. To summarize, if the goal is to write a "simpl