in reply to use of $*

It's documented in perlvar: $*. The docs also say what you should use instead:

You should use the /s and /m regexp modifiers instead.