Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jim Gibson Newsgroups: comp.lang.java.programmer Subject: Re: Any experience on teaching Perl programmers Java Date: Tue, 25 Oct 2011 10:03:26 -0700 Lines: 36 Message-ID: <251020111003268194%jimsgibson@gmail.com> References: <9gn5f8FmomU4@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net Pk4XNV35ZePVDSNMUAFL0Q6+r8hO3SG9MaXezsO6TzaT9Yu9um X-Orig-Path: jimsgibson Cancel-Lock: sha1:lVLkdQ9QgE9/uLSXATXr9lRDfR8= User-Agent: Thoth/1.9.0 (Mac OS X) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9177 In article <9gn5f8FmomU4@mid.individual.net>, wrote: > In article , > William Colls wrote: > > > > Perl is not Object Oriented. > > Well .... It doesn't have to be, but it can be. The man page > for perl lists the following, under "Tutorials": > > perlboot Perl OO tutorial for beginners > perltoot Perl OO tutorial, part 1 > perltooc Perl OO tutorial, part 2 > perlbot Perl OO tricks and examples > > Some (many? several?) of the Perl library add-ons are packaged as > classes/objects. There is also the book "Object Oriented Perl", Damian Conway, Manning Publications, 1999. Object-oriented features were added in Perl 5: classes, encapsulation, inheritance, polymorphism, etc. The one thing Perl doesn't have is data hiding: ³Perl doesn't have an infatuation with enforced privacy. It would prefer that you stayed out of its living room because you weren't invited, not because it has a shotgun² -- Larry Wall (I am a Perl fan, if you can't tell.) -- Jim Gibson