http://www.perlmonks.org?node_id=291437


in reply to Re: Re: Re: Re: perl OO - to use or not to use
in thread perl OO - to use or not to use

Other important difference is that in case of OO syntax caller in general doesn't know how $obj will handle method call (i.e. caller doesn't know which subroutine in which package is going to be called) as it depends on the class of $obj.

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org

  • Comment on Re: Re: Re: Re: Re: perl OO - to use or not to use