in reply to
This should work
I think you need to create your "bar" object explicitly before you insert() it into "foo". (An "unblessed reference" is something that you're treating as an object before Perl knows it's an object. See
bless
.)
Comment on
RE: This should work
In Section
Seekers of Perl Wisdom