No such thing as a small change | |
PerlMonks |
Re: Re: Method Calls on multiple objectsby Limbic~Region (Chancellor) |
on Mar 27, 2004 at 14:56 UTC ( [id://340264]=note: print w/replies, xml ) | Need Help?? |
dragonchild,
What benefit does this provide? You really have me there. The person asking for this didn't say why they needed/wanted it. The only benefit I can see to my first solution is that it saves you a lot of typing if you are using it all over the place. By sticking all the objects in an array, as you have shown, you get the same shorthand as if you stuck them all in a new object. I will be sure to pass this along. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|