- or download this
use strict;
use warnings;
- or download this
Use of uninitialized value in string eq
- or download this
map {if($_ =~ /^(#)?(10\.10\.1\.2.*)/){$_ = $1 eq '#' ? $2 : "#$2";}}
+@Output;
- or download this
print Out @Output;
- or download this
use strict;
use warnings;
...
atomic_update( $hostfile, \@Output );
}
print "There were $nchanges changes made to file '$hostfile'\n";
- or download this
s/^#(?=10\.10\.1\.2)//
s/^(?=10\.10\.1\.2)/#/