in reply to Regex Testing

You could use the re pragma:

use re 'debug';

It'll give you more information than you ever wanted, AND it's built-in. :)

Replies are listed 'Best First'.
RE: Re: Regex Testing
by converter (Priest) on Sep 27, 2000 at 05:03 UTC

    For what it's worth, the perldebguts manpage includes the details on the debugger's compile- and run-time outputs. You'll want to read it.

Re: Re: Regex Testing
by Anonymous Monk on Dec 03, 2001 at 22:07 UTC
    Cool! I have always been stumped by RE's that didn't work for some stupid tyop. This pragma help me find the problem in seconds!!! There is another flavor:

    use re 'debugcolor';

    It throws in some bolding and reverse video to enhance the display.