in reply to How to create a log file?

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^2: How to create a log file?
by davido (Cardinal) on Dec 22, 2011 at 16:24 UTC

    Have you considered using the Perl debugger?

    You're asking how to verify the program's state after each line of code executes. That sounds like stepping through code in a debugger.

    There is also Devel::Trace, and other gems like Devel::DumpTrace. The latter would spit out a pretty lengthy logfile for you to chew on.


    Dave

Re^2: How to create a log file?
by zwon (Abbot) on Dec 22, 2011 at 16:34 UTC
      Hi Zwon,

      Thanks for referring me to use Log4perl.I will implement it and get back if I have any queries....

Re^2: How to create a log file?
by cavac (Prior) on Dec 22, 2011 at 16:19 UTC

    Despite your various posts, you are still very vague in stating what you want to accomplish.

    There are literally hundreds of possible ways to "create a log file". Selecting the correct one(s) highly depends on your specific requirements.

    Can you provide a small sample program plus how the output of that program should look like and explain and walk us through your requirements step-by-step.

    BREW /very/strong/coffee HTTP/1.1
    Host: goodmorning.example.com
    
    418 I'm a teapot