in reply to Re^4: A different OO approach
in thread A different OO approach
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: A different OO approach
by Aristotle (Chancellor) on Dec 15, 2002 at 12:05 UTC |
In Section
Meditations