SyntaxFix
Write A Post
Hire A Developer
Questions
Under use strict, say:
use strict
(my $new = $original) =~ s/foo/bar/;
instead.