$file = '\\\daaecrmpd\d$\dba\freespacemonitor\directory.txt'; open(FILE, "<$file") or die "can't open $file: $!"; while (<FILE>){ s/total_bytes/""/ig; } close FILE;
In reply to Substitution in a file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |