in reply to A bug in caller() with Devel::Trace?

First, note that D::T on CPAN is version 0.10, and it dates back to 1999. I'd relax and take a deep breath before getting profane about something that beta and that old... :)

Well, ok, you seem to be getting profane about caller, not D::T. That brings us to:

Second, you've found a feature, not a bug. Your # line 2bug comment is acting like a #line directive in C or C++ would. I didn't know perl supports line directives, but that doesn't surprise me. In fact, this is documented in perlsyn, at least for my 5.6.1 installation. Look at the bottom of the file.
--
Mike

Replies are listed 'Best First'.
Re: Re: A bug in caller()
by shushu (Scribe) on Dec 04, 2002 at 16:35 UTC
    Well, I have to take my words back.
    I believe this feature can be useful for some cases, but I believe a more unique string should have been used.
    From the doc it seems like an ancient feature, so I believe this gives the answer.

    Thanks everybody, it is good to know there is some place you can get answers.
    shushu