or to the next successful pattern match, whichever comes first
$author =~ s/\.//g; # Remove full stops (periods)
is that next successful pattern match, clobbering your $3!
Liz
In reply to Re: Modifying value of $1 clobbers $2, $3 etc?
by liz
in thread Modifying value of $1 clobbers $2, $3 etc?
by Not_a_Number
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |