++ That is very nice. I didn't realise that you could use my and \() like that. Learn something new every day!

The only pain is that you have to remember to do:

my @A = \my %Foo;


my @A = \my (%Foo);

... which could lead to some nasty buggettes if you're not careful.

In reply to Re^3: A different OO approach by adrianh
in thread A different OO approach by fruiture

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":