in reply to Re: Object to Map Multiple Values to a Single Key
in thread Object to Map Multiple Values to a Single Key
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Unconstructive Criticism
by jeffa (Bishop) on May 27, 2003 at 14:30 UTC | |
Now i can use this to solve the 'problem' i had over at URI.pm bug or am i missing something? ... notice the slice ;)
jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat) | [reply] [d/l] [select] |
|
Re: Unconstructive Criticism
by adrianh (Chancellor) on May 27, 2003 at 15:09 UTC | |
The object was never meant to be a replacement for hashes That was (as I read it) Abigail's point. You're not providing a front end to a hash, you're providing an easy way of doing key -> arrayref mappings. You're dealing with a hashref not a hash. Hence your module description could be better expressed. I think you read way to much into Abigail's post. Abigail's (usually pretty darn accurate) comments may be blunt, but the bluntness is always aimed at code, not people. Unlike your message, which I --'d since I find it too close to a personal attack for my tastes. The object is trivial. Nothing wrong with that in itself. However we have an expressive syntax in Perl already for this sort of thing.
So, for me, it doesn't really supply anything that Perl doesn't give us already for free. On a stylistic note I would use add_value() (or similar) rather than put() since the latter sounds like it should be the inverse of get() and it isn't. | [reply] [d/l] |
|
Re: Unconstructive Criticism
by Jenda (Abbot) on May 28, 2003 at 14:21 UTC | |
RTFM is quite often the best response we can give. Assuming we include which TFM and where to find it. If TFM contains the answer why should we waste time to write it again? Or copy it from the docs? If you get the pointer to the docs you will read the answer there and know where to look next time. Of course if you say you do not get the answer from the docs it's something completely different. In that case we should try and give you a different explanation ... or point you to some other FM. <sigh>To tell the truth the hardest questions to respond to are those that show the complete ignorance on the other party. Not those that show that the person did not care to look for the answer in any docs, but those that show he/she doesn't have any idea whay is he/she doing. Those that show that the person speaks a different language (no, I don't mean uninteligible translations from his/her mother language to English), that there is so huge a gap between his/her way of thinking and yours that there is simply no way to pass any information. In that case I really don't know what FM to suggest. Sometimes I think the person should start with Math for the second grade. (No that's not your case.)<sigh> Jenda Edit by castaway: Closed small tag in signature | [reply] |
|
Re: Unconstructive Criticism
by Anonymous Monk on May 27, 2003 at 17:25 UTC | |
Abigail's is not that harsh. If you want to see a harsh critique check out this Christmas socking stuffer. Hopefully a little humor will defuse this situation. :))) | [reply] |