in reply to multiple (different) substitutions on same $foo
$_ = $foo; s/frog/toad/g; s/man/boy/; s/woman/girl/; [download]
--traveler