Thanks, Aristotle.
-Tom
* Tom Browder [2015-08-14 14:10]:
> On Fri, Aug 14, 2015 at 6:48 AM, Philip Hazelden
> wrote:
> > Correct me if I'm wrong, can't you do
> >
> > $s .= trim
>
> Um, I saw that usage in an earlier thread but didn't try it because it
> didn't "look right" given my experience with the ".=" operator as
On Aug 14, 2015 8:46 AM, "Brandon Allbery" wrote:
> On Fri, Aug 14, 2015 at 8:07 AM, Tom Browder wrote:
...
>> now). Note that the same behavior applies to the 'substr' string
>> method so that begs the question of why is the 'substr-rw' method
>> justified and 'trim-rw' not? It seems at first
On Fri, Aug 14, 2015 at 8:07 AM, Tom Browder wrote:
> But I've tried it and it works (but the syntax still bothers me for
> now). Note that the same behavior applies to the 'substr' string
> method so that begs the question of why is the 'substr-rw' method
> justified and 'trim-rw' not? It seem
On Fri, Aug 14, 2015 at 6:48 AM, Philip Hazelden
wrote:
> Correct me if I'm wrong, can't you do
>
> $s .= trim
Um, I saw that usage in an earlier thread but didn't try it because it
didn't "look right" given my experience with the ".=" operator as I'm
used to it. (Note I have now seen that behavi
Correct me if I'm wrong, can't you do
$s .= trim
?
On 12:45pm, Fri, 14 Aug 2015 Tom Browder wrote:
> In an earlier thread of mine on this list seeking help, Liz mentioned
> one string method that has now been dcoumented, 'substr-rw', which
> allows in-place modification of a string variable.
>
In an earlier thread of mine on this list seeking help, Liz mentioned
one string method that has now been dcoumented, 'substr-rw', which
allows in-place modification of a string variable.
In my journey with Perl 6 I have enjoyed the string 'trim' method so I
can do this:
my $s = ' blah ';
$