In a perl program I have, I call out to make in-place edits to a file with restricted privileges:

```
for my $file (@files) {
    `sudo perl -pi -e 's/foo(.?foo2)/bar\$1/m' '$file'`;
}

```

There may be a line break between foo and foo2, but the files use CRLF as their line break. How can I match CRLF in a -pi command with s///m or s///s?