this delete the entire line not just the 50 characters Also, i am testing witha small file (3KB) and the while stores the file content in a variable. I am guessing it would be an issue for a file 2GB size. any suggestions on where i can go from here. Please help and hello the forum. This is going to be my home for the next few monhts.use strict; use warnings; $^I = '.bak'; # create a backup copy while (<>) { s/HDR//g; # do the replacement print; # print to the modified file }
In reply to header footer by gupr1980
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |