Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: changing __LINE__ and __FILE__ in eval

by tobyink (Canon)
on Aug 05, 2012 at 16:21 UTC ( [id://985547]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found