in reply to Re: Unlimited chaining (is there a way to detect this?)
in thread Unlimited chaining (is there a way to detect this?)

I'm not sure you can say that.

If he provides a module for others to use, he's not necessarily the one doing the weird looping call and so he might want to detect it. So the question is valid, from my perspective. What's the best method for detecting this looped method calling?

--
I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.
  • Comment on Re^2: Unlimited chaining (is there a way to detect this?)

Replies are listed 'Best First'.
Re^3: Unlimited chaining (is there a way to detect this?)
by chromatic (Archbishop) on Jan 06, 2008 at 06:13 UTC
    What's the best method for detecting this looped method calling?

    Code reviews.

      Hey that sounds great. Only one issue.

      Picture this scenario: You create a module and put it up on CPAN. How do you propose to get all of your subsequent users to submit to a code review? I realize that the core of this isn't the problem for the author of a module. People will do all sorts of inane and dumb things with downloaded modules. So is the best method for detecting this a code review?

      --
      I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.
        People will do all sorts of inane and dumb things with downloaded modules.
        Yeah, and users are stupid, humans are sinners etc.

        As a smith, you deliver good axes, but you don't bother about people cutting themselves chopping firewood.

        --shmem

        _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                      /\_¯/(q    /
        ----------------------------  \__(m.====·.(_("always off the crowd"))."·
        ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
        You create a module and put it up on CPAN. How do you propose to get all of your subsequent users to submit to a code review?

        Well, I dunno, what about submitting a code review? The infrastructure is in place. You only have to use it.

        • another intruder with the mooring in the heart of the Perl