in reply to Re^5: Dereferencing in blessed object
in thread Dereferencing in blessed object

> @{$foo->{bar}} which is fine

personally I'd prefer having autoboxing methods

$foo->{bar}->list() (and $foo->{bar}->push() etc ...) cause it reads from left to right

> or @{$$foo{bar}} which, while valid, is a bit syntax heavy

And eye and logic have to hop back and forth

Tangential:

my dream would be able to have a pragma dualmy which is automatically aliasing each %IDENT with it's ref $IDENT and vice versa.

Perl would become easier to read and to understand.

(no implementation details, it's a dream... ;-)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery