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?

Thanks.

Best regards,

-Tom

Reply via email to