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

Re: overloading = [a solution]

Thread Previous | Thread Next
Ilya Zakharevich
May 5, 2000 15:31
Re: overloading = [a solution]
Message ID:
Damian Conway writes:
>     Class::ifiedVars - Control assignment to scalars
>     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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About