grashoper has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use win32::OLE qw(in); use warnings; #$search="possible error text"; open(INFO, "E:\\Mibor_TimingTest\\Mibor\\output.txt"); open(OUT, "c:\\perl\\scripts\\counter.txt"); my @array=<INFO>; foreach $line(@array){ print (OUT "$line"); }close (INFO); close (OUT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: processing file while file is in use
by gwadej (Chaplain) on Apr 21, 2009 at 13:12 UTC | |
by grashoper (Monk) on Apr 21, 2009 at 16:42 UTC | |
by gwadej (Chaplain) on Apr 21, 2009 at 18:06 UTC | |
by grashoper (Monk) on Apr 22, 2009 at 17:14 UTC | |
by gwadej (Chaplain) on Apr 22, 2009 at 18:38 UTC |