Here's a stumper: is it possible for a variable to be an object and a tied hash (or even array etc.) all at once? For example...
tie my %$hash, Class::Whatever; $hash->{foo} = "bar"; $hash->SomeMethod();
or maybe
my $obj = new Class::Whatever; $obj->{foo} = "bar"; $obj->SomeMethod();
Has this been done before? Could it be done (perhaps twiddling with attributes to say that the object is tied)?
In reply to Object and tied hash all at once? by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |