On Wed, Aug 5, 2015 at 6:47 PM, Tom Browder <[email protected]> wrote:
> I see that to trim white space from a strings's both ends I have to do
> this:
>
> my $s = ' yada yada ';
> $s = $s.trim;
>
> Is that the optimum way?
>
I don't know what you mean by "optimal" there, but you can say something
like
$s .= trim;
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
