Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Turning on regexp debugging at runtime

by LanX (Archbishop)
on Sep 24, 2014 at 10: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?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2019-03-23 09:19 GMT
Find Nodes?
    Voting Booth?
    How do you Carpe diem?

    Results (114 votes). Check out past polls.