Perl 6 ignores SIGPIPE

2017-06-15 Thread Sean McAfee
I see at http://www.moarvm.com/releases.html ...that as of the 2017.03 release, Perl 6 "ignores SIGPIPE by default." I discovered this for myself when I piped a program that generates unlimited output to the head utility, and the program did not exit when head was finished. Simple example: $ p

Re: [perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread Brandon Allbery via RT
On Fri, Jun 16, 2017 at 12:41 AM, Gabor Szabo wrote: > Would it be used by people who use the REPL to experiment with the > languages? In that case the listing should be as user friendly as > possible and require as little typing as possible. Having ABC order is > IMHO the easiest to look through

Re: [perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread Brandon Allbery
On Fri, Jun 16, 2017 at 12:41 AM, Gabor Szabo wrote: > Would it be used by people who use the REPL to experiment with the > languages? In that case the listing should be as user friendly as > possible and require as little typing as possible. Having ABC order is > IMHO the easiest to look through

Re: [perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread Gabor Szabo via RT
I think the question when would ^methods be used? Would it be used by people who use the REPL to experiment with the languages? In that case the listing should be as user friendly as possible and require as little typing as possible. Having ABC order is IMHO the easiest to look through. (e.g. in

Re: [perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread Gabor Szabo
I think the question when would ^methods be used? Would it be used by people who use the REPL to experiment with the languages? In that case the listing should be as user friendly as possible and require as little typing as possible. Having ABC order is IMHO the easiest to look through. (e.g. in

Re: How do you call the variable types?

2017-06-15 Thread Brandon Allbery
On Sat, Jun 10, 2017 at 2:38 AM, Brent Laabs wrote: > I thought: > $ is Scalar > @ is Array > % is Hash > & is a function > Pedantically: $ forces item context, but otherwise allows any type (defaulting to Scalar); the item context gets you "scalar" behavior in most cases even with non-scalars

Re: [perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread Lloyd Fournier
Str.^methods.sort(*.name) Is easy enough once you know to do it :) I don't think we should specify a particular order for the returned methods and alphabetic sorting is kinda arbitrary. Why not sorted by class inheritance for example? On Fri, Jun 16, 2017 at 2:09 PM Gabor Szabo wrote: > # New T

Re: [perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread Lloyd Fournier via RT
Str.^methods.sort(*.name) Is easy enough once you know to do it :) I don't think we should specify a particular order for the returned methods and alphabetic sorting is kinda arbitrary. Why not sorted by class inheritance for example? On Fri, Jun 16, 2017 at 2:09 PM Gabor Szabo wrote: > # New T

Re: How do you call the variable types?

2017-06-15 Thread Gabor Szabo
On Sat, Jun 10, 2017 at 9:38 AM, Brent Laabs wrote: > I thought: > $ is Scalar > @ is Array > % is Hash > & is a function > Reading this https://docs.perl6.org/language/containers I just found out that a @-variable can also contain a List, not just an array: > my @z = () [] > @z.^name Array > my

[perl #131583] [BUG] Sort content of ^methods

2017-06-15 Thread via RT
# New Ticket Created by Gabor Szabo # Please include the string: [perl #131583] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131583 > I think it would be better to have the list returned by ^methods sorted in abc order.