According to Perl Special Variables Quick Reference you should be using the /m multiline modifier. See perlre.
Update: added link
In reply to Re: $* is no longer supported
by BioLion
in thread $* is no longer supported
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |