So, I could create a version of `trim` that was more `chomp`-like?
sub mytrim { $_[0] =~ s/^\s+|\s+$//g; } my $text = ' this could use a trim. '; mytrim $text;
In reply to Re^3: Text::ExtractWords exhibits incomprehensible behavior?
by ibm1620
in thread Text::ExtractWords exhibits incomprehensible behavior?
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |