Skip to content

Instantly share code, notes, and snippets.

@tryperl
Created March 3, 2013 20:03
Show Gist options
  • Save tryperl/5078034 to your computer and use it in GitHub Desktop.
Save tryperl/5078034 to your computer and use it in GitHub Desktop.
Created by www.tryperl.com.
use strict;
use warnings;
while (<>) {
s/^(?:y-)?(\w+)\@PARTNERS\@foobar\.com/$1\@blah-inc.com/;
print;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment