in reply to Re^3: extraction of text between 2 similar patterns in a text file
in thread extraction of text between 2 similar patterns in a text file

can you suggest me a good perl debugger?
  • Comment on Re^4: extraction of text between 2 similar patterns in a text file

Replies are listed 'Best First'.
Re^5: extraction of text between 2 similar patterns in a text file
by roboticus (Chancellor) on May 17, 2011 at 21:38 UTC

    There's a debugger already built into perl 5.x. Just add the "-d" parameter to run your program under the debugger. It'll take a little getting used to, especially if you're used to pointy clicky windows. But it does the job nicely.

    It's documented in perldoc perldebug.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.