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. ;-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.