Re: What are Perl 6's killer advantages over Perl 5?

2015-09-03 Thread Matija Papec
02.09.2015, 16:42, "Robert Strahl via perl6-users" : >  I don't understand why some people feel so strongly that one-liners should > be strict. That would undermine what a one-liner is — a quick way to get > something done. I use perl5 one-liners very frequently for text

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-31 Thread Marc Chantreux
On Fri, Aug 28, 2015 at 05:48:07PM +0200, Carl Mäsak wrote: > Good news! I just pushed a change (with backing from other core > developers) that makes -e strict by default! awesome! thank you Carl! -- Marc Chantreux (eiro on github and freenode) http://eiro.github.com/

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-28 Thread Carl Mäsak
Moritz (), Tux (): I could continue with other Perl 5 deficiencies (no strict by default, Using strict *STILL* is not enabled by default for perl6 one-liners either: $ perl6 -e'my Int $this = 1; $thıs++; say $this;' 1 $ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;' ===SORRY!===

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-28 Thread yary
Oh dear... can we get non-strict for one liners with -E then? I admit it isn't an issue for me at the moment, as I do my one liners in perl5 currently Maybe I need to think functionally, so variable declaration isn't an issue at all -y On Fri, Aug 28, 2015 at 11:48 AM, Carl Mäsak

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread yary
On Thu, Aug 27, 2015 at 4:45 AM, Marc Chantreux kha...@phear.org wrote: complete different usage but it would be nice to have a flag for use strict both in perl5 and 6 /me nominates -W as a bigger -w .. oh wait, -W already exists as a depreciated-in-my-view perl5 flag. In that case, I also like

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread David H. Adler
On Thu, Aug 27, 2015 at 10:35:27AM -0400, yary wrote: On Thu, Aug 27, 2015 at 4:45 AM, Marc Chantreux kha...@phear.org wrote: complete different usage but it would be nice to have a flag for use strict both in perl5 and 6 /me nominates -W as a bigger -w .. oh wait, -W already exists as a

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-27 Thread Marc Chantreux
On Wed, Aug 26, 2015 at 02:00:09PM -0400, Brandon Allbery wrote: It used to be, but that was not according to spec. FROGGS++ implemented the lax mode, which is enabled by default in one-liners. Perhaps TimToady wants to invoke rule #2 on this. Personally, I use an alias that has ‘-M

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Brandon Allbery
On Wed, Aug 26, 2015 at 1:58 PM, Elizabeth Mattijsen l...@dijkmat.nl wrote: It used to be, but that was not according to spec. FROGGS++ implemented the lax mode, which is enabled by default in one-liners. Perhaps TimToady wants to invoke rule #2 on this. Personally, I use an alias that has

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Elizabeth Mattijsen
On 26 Aug 2015, at 12:18, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Wed, 26 Aug 2015 10:26:23 +0200, Moritz Lenz mor...@faui2k3.org wrote: I could continue with other Perl 5 deficiencies (no strict by default, Using strict *STILL* is not enabled by default for perl6 one-liners

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Moritz Lenz
Hi, On 11.08.2015 14:12, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using the latest Perl

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Tom Browder
On Wed, Aug 26, 2015 at 3:26 AM, Moritz Lenz mor...@faui2k3.org wrote: Hi, On 11.08.2015 14:12, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users.

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-26 Thread Marc Chantreux
On Wed, Aug 26, 2015 at 12:18:46PM +0200, H.Merijn Brand wrote: $ perl6 -e'my Int $this = 1; $thıs++; say $this;' 1 $ perl6 -Mstrict -e'my Int $this = 1; $thıs++; say $this;' ===SORRY!=== Error while compiling -e Variable '$thıs' is not declared. Did you mean '$this'? at -e:1 -- my Int

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread H.Merijn Brand
On Tue, 11 Aug 2015 21:41:21 -0400, David H. Adler d...@pobox.com wrote: The reason for my request is to help with a better introduction in my modest draft tutorial on converting Perl 5 to Perl 6 code at the Perl Monastery. I am comfortable with the example code I use there (which is not

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Wed, Aug 12, 2015 at 2:00 AM, H.Merijn Brand h.m.br...@xs4all.nl wrote: On Tue, 11 Aug 2015 21:41:21 -0400, David H. Adler d...@pobox.com ... *THE* killer feature that will be seen by all beginning perl6 programmers is its awesome error messages. It is a shame that ... Thanks! -Tom

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Wed, Aug 12, 2015 at 4:02 AM, Kamil Kułaga teodoz...@gmail.com wrote: One thing that was not mentioned already is using Rat instead of standard floating point number. It prevents many silly mistakes especially when counting money. Thanks, Kamil. -Tom

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Tom Browder
On Tue, Aug 11, 2015 at 6:41 PM, Andrew Kirkpatrick uberm...@gmail.com wrote: Built-in facilities for the language to parse, transform and extend ... Thanks, Andrew. -Tom

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Kamil Kułaga
One thing that was not mentioned already is using Rat instead of standard floating point number. It prevents many silly mistakes especially when counting money. On Tue, Aug 11, 2015 at 2:12 PM, Tom Browder tom.brow...@gmail.com wrote: I have seen several lists of new Perl 6 features (versus Perl

Re: What are Perl 6's killer advantages over Perl 5?

2015-08-12 Thread Fagyal Csongor
Hi, On Tue, Aug 11, 2015 at 07:12:00AM -0500, Tom Browder wrote: I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already

What are Perl 6's killer advantages over Perl 5?

2015-08-11 Thread Tom Browder
I have seen several lists of new Perl 6 features (versus Perl 5) but they all seem to be lists that intermix features with varying degrees of value to ordinary Perl 5 users. If one wants to sell long-time Perl 5 users (already using the latest Perl 5, Moose, etc.) on the value of Perl 6, what