in reply to Search and replace for @

In an interpolated string, if you put \Q and \E around some text, especially a variable, it will escape all non word characters with a \ (which is the proper escape character, not /) so something like
"|/usr/bin/mail \Q$string\E"

if you want a / you'll have to do something like $string =~ s|\@|/\@|g;

                - Ant