On Thu, Aug 6, 2015 at 2:23 AM, Brent Laabs <bsla...@gmail.com> 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-returning-a-string().trim;

Good point, Brent, thanks!

Best,

-Tom

Reply via email to