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-
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