in reply to Re: find and replace
in thread find and replace

Word boundaries (\b) are zero-width, so you shouldn't capture them. ($1 and $2 will always be empty in your last line.)

Thus, $myin =~ s/\b$full\b/$abb/g; is sufficient.