in reply to Re: Re: Re: Re: Re: Re: Handy dandy CPAN pollution
in thread Handy dandy CPAN pollution

Hypothetically a slight modification to the Perl source to provide a way of determining that a sub has been called via a method lookup

You mean like called_as_method in Devel::Caller? :-)

See my dissection of OOorNO for an example.

Replies are listed 'Best First'.
Re: Re^7: Re: Handy dandy CPAN pollution
by demerphq (Chancellor) on Jan 07, 2003 at 22:24 UTC
    Yup. Just like that. :-) But id like to see it removed from the Devel:: Namespace. I dont see how production code can use stuff from that branch.

    Oh and sorry I missed your analysis. :-) Ill read it now.

    Just finished. Great node.

    --- demerphq
    my friends call me, usually because I'm late....

      But id like to see it removed from the Devel:: Namespace. I dont see how production code can use stuff from that branch.

      Why (he asks curiously)?

      A module is a module. I use Devel:: stuff in production code without a qualm. Should my clients be worried? :-)