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
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/
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!===
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
19 matches
Mail list logo