MONKS,
I am new this perl group.
I need ur help. That is, Is it possible to modify the file without using any Temporary variable
use strict; open (JE, "< c:\\tuls\\tuls.txt") || die "Can not open the file "; my $ou; while (<JE>) { $_=~s/findtext/changetext/g; $ou.=$_; } close(JE); open (JE, "> c:\\tuls\\tuls.txt") ; print JE $ou; close (JE);
In reply to Modify file without any temp variable by tulsyan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |