Re: String trim method

2015-08-06 Thread Brent Laabs
I think the optimal way would be: my $s = 'yada yada'; That way the program won't have to trim the whitespace off the string every time it is run. In the more general case, I might do it something like: my $s = something-returning-a-string().trim; But I don't think that there really is a

Re: String trim method

2015-08-06 Thread Tom Browder
On Thu, Aug 6, 2015 at 2:23 AM, Brent Laabs wrote: > I think the optimal way would be: > >my $s = 'yada yada'; > > That way the program won't have to trim the whitespace off the string every > time it is run. > > In the more general case, I might do it something like: > > my $s = something-

[perl #125758] OSX `await` not waiting for Planned promise

2015-08-06 Thread Nick Logan via RT
I should mention regarding the gist above: $promise = $.start-processes

[perl #125762] [BUG] parameterisation has higher priority than postcircumfix:<[ ]> even on non-parameterizable types

2015-08-06 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #125762] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125762 > Context: I am trying to make a fun syntax where Class[@args] is an alias for Class.new(

[perl #125758] OSX `await` not waiting for Planned promise

2015-08-06 Thread via RT
# New Ticket Created by Nick Logan # Please include the string: [perl #125758] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125758 > I seem to have hit a strange bug on osx where for: `await $promise; say $promise.perl` sho