Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Turning on regexp debugging at runtime

by LanX (Archbishop)
on Sep 24, 2014 at 14:22 UTC ( #1101800=note: print w/replies, xml ) Need Help??


in reply to Turning on regexp debugging at runtime

IMHO it should be possible at the debugger prompt to manually eval a line with use re 'debug' enabled,

This could be automatized with an alias command to be manually invoked, to take the next (or last) line to be executed to be debugged.

My quick testing couldn't make it work, either because

  • my Perl version is too old for use re 'debug'
  • because re-debugging needs to be enabled at start time and than disabled
  • probably both

Left as an exercise to interested monks with much time... :)

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2019-10-18 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?