It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jun 2006
Age: 28
Posts: 17
|
Hello!
In my program I'm creating different log files of the related parts of the program and at the end I merge them into one, and delete the parts (can be regarded as temporary files) I'd like to put a header to the merged logfile. Is there any way to insert the header after merging? Till now I created a file in the beginning of my program like this, and then I concatenated the logging infos to this file.. open($LOG_FILE_HANDLE, ">change.log") or die "main() : change.log"; print $LOG_FILE_HANDLE "-------------------------------------------------------\n"; print $LOG_FILE_HANDLE "---------------my Log file-----------------------------\n"; close($LOG_FILE_HANDLE); but I'd like to avoid this, and want to insert a header at the end... I couln't do this with system `cat ... `; I use perl 5.8.0 and have no possibility to install new modules. thanks logan |
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SQL INSERT INTO and Numbers | ashley | ASP | 3 | 07-14-2006 08:09 PM |
| Insert and update the same time | alejandro | ASP | 1 | 07-06-2006 12:13 PM |
| Scans lines? | act | Graphics & Multimedia | 3 | 04-20-2006 06:05 PM |
| Guide To Beginning Brushing/coloring | Anamaru | Graphics & Multimedia | 0 | 09-27-2005 09:04 PM |
| Analization Lines | The Rebel | Graphics & Multimedia | 1 | 08-08-2005 06:02 AM |