in reply to Re: Re: Re: Re: Re: Method Calls on multiple objects
in thread Method Calls on multiple objects

We are already on the same page, it seems. But you and dragonchild still don't quite realize who you are arguing with. I was using map, and I never agreed that we needed a specialized tool -- I do not like Limbic's implementation (sorry, Limbic). Perhaps I misinterpreted your response based on the fact that I was the parent of your post...which was definitely confusing. I was saying "yes there is a need to sometimes call methods against a list", of which the whole thread got really convoluted rather quickly when I was trying to debate a percieved statement that "I can never see a reason to call a method on every object in a list", which didn't quite make sense.

If Chewbacca lives on Endor, I say we forget about the whole sub-thread.

  • Comment on Re: Re: Re: Re: Re: Re: Method Calls on multiple objects

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Method Calls on multiple objects
by tilly (Archbishop) on Mar 28, 2004 at 01:01 UTC
    We knew who we were arguing with, but (as often happens) the argument seems to be over a misconception.

    I was objecting to creating a method to call methods against a list. There are reasons to call a method on all things in a list, I have done it for any number of reasons. A sample reason why you might is some sort of notification system. All objects that have said they are watching some event have to have a logging method called on them. But the built-ins in Perl resolve the problem adequately enough that I see no reason to build a method especially to do it.

    I didn't realize that you were arguing just for the utility of calling a method on a list of things. And so we were talking past each other.

    I'm glad to have that resolved. ;-)