in reply to •Re: Re:^2 $self->{foo} in sub new {}
in thread $self->{foo} in sub new {}

ok, you managed to confuse me.
i read the nodes you posted but i dont think i understood them completely, so could you or someone else give me a pointer where i lern to code nice and clean perl objects?
  • Comment on Re: •Re: Re:^2 $self->{foo} in sub new {}

Replies are listed 'Best First'.
Re: Re: •Re: Re:^2 $self->{foo} in sub new {}
by hardburn (Abbot) on Dec 22, 2003 at 18:00 UTC

    merlyn's perlboot is pretty good.

    Yes, I know tchrist suckered a lot of people into thinking ref($proto) || $proto is OK.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    : () { :|:& };:

    Note: All code is untested, unless otherwise stated