Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Regex Testing

by chromatic (Archbishop)
on Sep 27, 2000 at 03:49 UTC ( #34135=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://34135]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2022-12-01 14:50 GMT
Find Nodes?
    Voting Booth?