Don't ask to ask, just ask | |
PerlMonks |
Re^5: A different OO approachby adrianh (Chancellor) |
on Dec 15, 2002 at 03:37 UTC ( [id://219955]=note: print w/replies, xml ) | Need Help?? |
A single hash is a special case with \(). From perlref. As a special case, "\(@foo)" returns a list of refer- ences to the contents of @foo, not a reference to @foo itself. Likewise for %foo, except that the key refer- ences are to copies (since the keys are just strings rather than full-fledged scalars). Annoying eh?
In Section
Meditations
|
|