http://www.perlmonks.org?node_id=125989


in reply to Mnemonic Devices for Perl Programming

Interesting how individualized mnemonic preference is. We've now had several mnemonics for the /s and /m regex modifiers, none of which resonated with me at all.

I've always preferred the one suggested to me by Uri Guttman:

/s modifies the behaviour of a Single metacharacter (.)
/m modifies the behaviour of Multiple metacharacters (^ and $)
  • Comment on Re: Mnemonic Devices for Perl Programming