develooper Front page | perl.perl5.porters | Postings from May 2000

Re: overloading = [a solution]

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
May 5, 2000 15:31
Subject:
Re: overloading = [a solution]
Message ID:
200005052231.SAA11999@monk.mps.ohio-state.edu
Damian Conway writes:
>     Class::ifiedVars - Control assignment to scalars
> 
> DESCRIPTION
>     The Class::ifiedVars module exports a single subroutine named
>     `classify', which may be used to associate a particular class name with
>     a variable, in order to control the variable's behaviour when assigned to.

How is it different from simple tie()ing?

See also

  my Dog $snoopy;

and PREPARE method.

Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About