in reply to Re: problem in output
in thread problem in output

Hi, There are not less than 10-15 files in a day log and that will be opened through that log handle. Then how can we modify the code to open each file with diffrent handle. And any suggestions about the output coming wrong. Thanks NT

Replies are listed 'Best First'.
Re^3: problem in output
by davorg (Chancellor) on Jun 29, 2009 at 14:48 UTC
    Then how can we modify the code to open each file with diffrent handle.

    Not sure that's the right approach. The approach I would take would be:

    • for each file
      • open file
      • process file contents
      • close file
    • next file
    And any suggestions about the output coming wrong.

    I strongly suspect that will be fixed once you process all of the files correctly.

    --

    See the Copyright notice on my home node.

    Perl training courses