Help for this page
s/foo/bar/ s/(fo)o/bar$1/
while(my $line = <FILE>) { chomp; eval "\$string =~ $line; 1" or die $@; }