Re: Advance OOPs concept

2015-11-29 Thread Илья Рассадин
Hi! If you're looking for object introduction book, see Craig Larman's Introduction to Object-oriented Analysis and Design http://www.amazon.com/Applying-UML-Patterns-Introduction-Object-Oriented/dp/0131489062 Best perl text about objects I read is Moose Manual. Definitely you should read it, eve

London FREE Perl Crash Course

2015-11-29 Thread Andrew Solomon
As part of the annual London Perl Workshop, on December 12 at 9.10am I'll be running an intensive class on Perl for people with experience of other programming languages. http://blog.geekuni.com/2015/11/free-course-perl-universe-and-everything.html I look forward to meeting you there! Andrew --

Re: uniq array creation

2015-11-29 Thread Paul Johnson
On Sun, Nov 29, 2015 at 03:30:53PM +0530, Pritish Pattanaik wrote: > *Remove duplicate elelments from an array, It will maintain the original > order* > > __CODE__ > @array = qw(11 2 3 4 55 4 3 2); > %hash = (); > for(my $i=0;$i<=$#array;$i++){ > # store the position from array. use array ele

Re: Advance OOPs concept

2015-11-29 Thread Shlomi Fish
On Sun, 29 Nov 2015 17:08:03 +0530 Jitendra Barik wrote: > Yes It was Dr. Damian Conway. Ok. > > Could you please suggest some books that will help me to know advance > concept about OPPs? > Please see the links in my previous message in this thread. -- Shlomi Fish > Regards, > Jite

Re: Advance OOPs concept

2015-11-29 Thread Jitendra Barik
Yes It was Dr. Damian Conway. Ok. Could you please suggest some books that will help me to know advance concept about OPPs? Regards, Jitendra On Sun, Nov 29, 2015 at 4:19 PM, Shlomi Fish wrote: > Hi Jitendra, > > On Sun, 29 Nov 2015 13:12:21 +0530 > Jitendra Barik wrote: > > > Hi All, > > >

Re: Advance OOPs concept

2015-11-29 Thread Shlomi Fish
Hi Jitendra, On Sun, 29 Nov 2015 13:12:21 +0530 Jitendra Barik wrote: > Hi All, > > Please let me know the best reference book for Advance OOPs concept. > Please see http://perl-begin.org/topics/object-oriented/ for some recommended resources about it. Perhaps the best resource for now is the

Re: uniq array creation

2015-11-29 Thread Shlomi Fish
Hi Jitendra, some comments on your code: On Sun, 29 Nov 2015 13:09:42 +0530 Jitendra Barik wrote: > Hi Sunita, > > Please find the code snippet here: > > @array = qw(1 2 3 4 5 4 3 2); You are missing "use strict;", "use warnings;" and "my" declarations here: http://perl-begin.org/tutorials/

Re: uniq array creation

2015-11-29 Thread Pritish Pattanaik
Hi, *Remove duplicate from an array using hash, It will disorder the original position of an array * __CODE__ my @array = qw(11 2 3 4 55 4 3 2); my %hash; map { $hash{$_}++ } @array; @array = keys %hash; print "Array:@array\n"; __END__ *Remove duplicate elelments from an array, It will main