I have an object class which I want to be accessible as an array and hash.
I know I can do this.. tie, %hash, 'myClass'; tie, @list, 'myClass'; print $hash{blah}; print $list[0]; but what I want to do is somehting like this: my $obj = myClass->new(); print $obj{blah}; print $obj[0]; I guess this would require the creation of %obj and @obj and tieing thereof. So ... is it possible to tie an object to both a hash and an array at the same time? How? And what's the best way to create and tie the underlying hash and list? -- Simon Oliver _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users