I even tried making a copy of $text (my $copy = $text)
my $copy = '' . $text
should work.
If that doesn't help or if you need to copy structures, you can use the Storable modules dclone() function:
use Storable qw(dclone); ... my $deepcopy = dclone($original);
In reply to Re: Text::ExtractWords exhibits incomprehensible behavior?
by cavac
in thread Text::ExtractWords exhibits incomprehensible behavior?
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |