in reply to Re: using command line switches to edit file
in thread using command line switches to edit file
while (<INFO>) { @line=<INFO>; #will this help ? my @new2; if($var{param}) { list_param($var{param}); } if($var{the}) { list_the($var{the}); } sub list_param($) { if ($line =~ m:Absolute_Error_Tolerance=":) { $line=$line1; @new2=split(/\"/,$line1); $line1=~s/$new2[1]/$G{param}/; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: using command line switches to edit file
by holli (Abbot) on Feb 13, 2006 at 14:13 UTC | |
by kitty (Novice) on Feb 13, 2006 at 16:53 UTC |