in reply to Re: Text::ExtractWords exhibits incomprehensible behavior?
in thread Text::ExtractWords exhibits incomprehensible behavior?
But it's customary to make local copies of the parameters like 'my $var = shift' so they don't get changed.my $me = "old me"; s1($me); print "$me\n"; sub s1 { $_[0] = "new me"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Text::ExtractWords exhibits incomprehensible behavior?
by ibm1620 (Hermit) on Jun 16, 2024 at 22:35 UTC | |
by NERDVANA (Priest) on Jun 18, 2024 at 00:44 UTC | |
by ibm1620 (Hermit) on Jun 18, 2024 at 14:05 UTC |