Garrett Goebel wrote:
> > > package bar;
> > > @ISA = qw(foo);
> > > sub new {  bless \my $key; \$key }
> >

It appears you're blessing one reference and returning another... like

    sub new {
        my $key;
        my $a = \$key;
        my $b = \$key;
        bless $a;
        return $b;
    }

I think the problem is not with the overloading magic, but with the code
snippet...

- Branden

Reply via email to