- or download this
while (my $line = <FILE>) {
$line =~ s/$curUrl/$tarUrl/g;
}
- or download this
open my $INFILE, '<', 'some_file'
or die "Couldn't open $fname: $!";
- or download this
{
local $^I = ".backup";
...
print;
}
}
- or download this
...
use English '-no_match_vars';
...
print;
}
}
- or download this
$^I = undef; #default value, Turn off inplace editing mode.
$^I = "some_string"; #Turn on inplace editing mode, use "some_string"
#as the extension for the backup files.
$^I = ""; #Turn on inplace editing mode, delete backup files
+.