{ # Need to add tags of and <\vom> at the # start and end of the file # Doing this below, but in a different block # of code to not disturb ARGV $out->[1] =~ s/\\/\\\\/g; # for windows local @ARGV = ($out->[1]); local $^I = '.bk'; while (<>) { if ($. == 1) { print "\n"; } else { print; } } open(APP, ">>$out->[1]"); print APP "\n\n"; close(APP); }