in reply to Re: quite weird regexp
in thread quite weird regexp

What perlop doesn't tell you is that, if you put a space after the operator name, you can use alphanumeric characters as delimiters. To use the current example: ($Z = $0) =~ s z.*/zz; I also made use of this in homer.pl, with m mmm, Donuts. But please don't do this in production code! :)