You are on page 1of 4

Sunita Rani Pradhan ------_=_NextPart_001_01CBB306.

C6655C43 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All =20 Can anyone explain the Perl OOP concept with one real time example ? How it is useful or required in our programming life? Any link also would be helpful .=20 =20 Thanks Sunita

------_=_NextPart_001_01CBB306.C6655C43-Jan 13, 2011 12:52 pm Shlomi Fish Re: Perl OOP concept in real time scenario Hi Sunita, On Thursday 13 Jan 2011 11:46:38 Sunita Rani Pradhan wrote: > Hi All > > > > Can anyone explain the Perl OOP concept with one real time > example ? How it is useful or required in our programming life? Any link > also would be helpful . First of all, note that I don't understand what you mean by "real time". Real time in computing normally means that: http://en.wikipedia.org/wiki/Real-time_computing Otherwise, I give the motivation for OOP and other paradigms here: http://perl-begin.org/tutorials/perl-for-newbies/part3/

2011 6:22 PM To: beginners@perl.cpan.il] Sent: Thursday.in/reply .You should read the introduction. in what kind of scenario we should use OOP features(in perl) ? Thanks Sunita -----Original Message----From: Shlomi Fish [mailto:shlomif@iglu.http://shlom.org/topics/object-oriented/ For some examples of object-oriented code in Perl. and you should see this instead: http://perl-begin. Jan 13.org.org/humour/bits/facts/ Chuck Norris can make the statement "This statement is false" a true one. but note that the rest of the tutorial has become baroque in time. Please reply to list if it's a mailing list post . January 13.org/ Chuck Norris/etc. 2011 12:55 pm Sunita Rani Pradhan RE: Perl OOP concept in real time scenario Hi Shlomi Thanks for your help . you may wish to consult my CPAN directory ( http://search. On Thursday 13 Jan 2011 11:46:38 Sunita Rani Pradhan wrote: > Hi All > > > > Can anyone explain the Perl OOP concept with one real time > example ? How it is useful or required in our programming life? Any link .org Cc: Sunita Rani Pradhan Subject: Re: Perl OOP concept in real time scenario Hi Sunita.shlomifish. I meant that .http://www. Facts .shlomifish. Shlomi Fish ----------------------------------------------------------------Shlomi Fish http://www.org/~shlomif/ ) and other modules on CPAN: Best regards.

OOP is also useful for standardising the interface of your project. In that case.org/humour/bits/facts/ Chuck Norris can make the statement "This statement is false" a true one. and for shortening the .cpan. Real time in computing normally means that: http://en. note that I don't understand what you mean by "real time". you may wish to consult my CPAN directory ( http://search.org/tutorials/perl-for-newbies/part3/ You should read the introduction. and you should see this instead: http://perl-begin. Facts .org/topics/object-oriented/ For some examples of object-oriented code in Perl.shlomifish.shlomifish. consider creating a class and instantiating objects of it. Jan 13.http://shlom.in/reply .org/wiki/Real-time_computing Otherwise. Please reply to list if it's a mailing list post .org/ Chuck Norris/etc. First of all.org/~shlomif/ ) and other modules on CPAN: Best regards. I meant that . 2011 3:02 pm Shlomi Fish Re: Perl OOP concept in real time scenario On Thursday 13 Jan 2011 14:55:10 Sunita Rani Pradhan wrote: > Hi Shlomi > > Thanks for your help . Shlomi Fish ----------------------------------------------------------------Shlomi Fish http://www. in what kind of scenario > we should use OOP features(in perl) ? Well. often you need to create more than one instance of something. but note that the rest of the tutorial has become baroque in time.wikipedia. I give the motivation for OOP and other paradigms here: http://perl-begin.> also would be helpful .http://www.

You may wish to read these parts of "The Art of Unix Programming" for some discussion of OOP: * http://www. and that the way Perl implemented OOP is much better than C++'s.html However. Inheritance and role composition give you powerful tools to reuse code and over-ride parts of it. but it's important to know.amount of code needed to delegate records from one subroutine to another and to export and import functions. and I found it of great utility. I feel that OOP as it is implemented in C++ leaves a lot to be desired. Please read the rest of the resources I've linked to (and other resources online and offline). Shlomi Fish . Regards.".faqs. I'm not saying that you should always use OOP.org/docs/artu/unix_and_oo.html * http://www.faqs.org/docs/artu/ch14s04. and that "C++ supports Object Oriented Programming roughly as much as COBOL supports Functional Programming.