#!/usr/bin/perl -wl use strict; use warnings; my $test = "before script after script"; $test =~ s%%%gs; print "Test is $test\n";