Re: perlfaq4: multiple answers affected
[email protected] (_brian_d_foy) Wed, 12 Oct 2005 11:31:09 -0700
| Newsgroups | perl.perlfaq.workers |
|---|---|
| Message-ID | <121020051131095835%[email protected]> |
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <[email protected]>, Smylers <[email protected]> wrote: > _brian_d_foy writes: > > > * How can I use a reference as a hash key? > > + I updated the answer to explain why you shouldn't. > The answer (both before and after your change) presumes that the user > wishes to be able to get to the original reference from the hash key, > and that trying to use the reference directly (stringifying it) is bad. I don't think I really presume that, but I like to warn about it anyway. I don't do this much, so if other people have some text or examples to add, just send me the portions to add. :) -- brian d foy, [email protected]