in reply to Re: multiple (different) substitutions on same $foo
in thread multiple (different) substitutions on same $foo

Order is also important in our (possibly quite contrived) example. Change it around just a bit and you see the problem:
my $foo = "A woman and a man saw a frog by the pond\n"; s/frog/toad/g, s/man/boy/, s/woman/girl/, print for ($foo); __END__ A woboy and a man saw a toad by the pond

--
[ e d @ h a l l e y . c c ]