in reply to log file in perl.
Assuming your code looks similar to what you posted in Perl Script to count files and directories is not working., the easiest solution for you would be to not put new-lines in your print statements (\n). So for example, line 28 in that OP might change from
print "Directories: $directory_count\n";
to
print "Directories: $directory_count | ";
Of course, you could do this a large number of different ways. You could also presumably alter the way you "read that file into the database tables". TIMTOWTDI.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: log file in perl.
by manu_06 (Novice) on Aug 27, 2010 at 20:40 UTC | |
by kennethk (Abbot) on Aug 27, 2010 at 21:00 UTC | |
by Anonymous Monk on Aug 28, 2010 at 00:38 UTC | |
by vek (Prior) on Aug 27, 2010 at 20:57 UTC |