in reply to changing __LINE__ and __FILE__ in eval

See perlsyn - under the heading "Plain Old Comments (Not!)".

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re: changing __LINE__ and __FILE__ in eval

Replies are listed 'Best First'.
Re^2: changing __LINE__ and __FILE__ in eval
by rockyb (Scribe) on Aug 05, 2012 at 22:56 UTC

    Thanks! This is exactly what I wanted. You guys rock!

    My commit based on this information has been tested and applied. I leave it to others to rework perl5db along the same lines if that is of interest.