Re: Need Advice on Perl learning

2015-04-12 Thread Manpreet Singh
Thanks Sam!!

Re: Need Advice on Perl learning

2015-04-12 Thread Sam
On 04/12/2015 07:05 AM, Manpreet Singh wrote: Hello All, I am and have been an avid Java programmer. I started learning Perl about a month ago as I took up a new role in QA automation. I have gone through the 'Learning Perl' Llama book by OReilly and did quite a few scripts in office. I love Per

Re: Need explanation of code

2015-04-12 Thread shawn wilson
On Apr 12, 2015 8:06 AM, "Shawn H Corey" wrote: > > On Sat, 11 Apr 2015 21:20:22 -0700 > SSC_perl wrote: > > > Could someone please explain the difference between: > > > > %{$self->{'DATA'}} = () } > > %{ $self->{'DATA'} } = (); > > > > > and > > > > $self->{'DATA'} = {} > > > > I w

Re: Need Advice on Perl learning

2015-04-12 Thread Manpreet Singh
Thank you Andrew and I will go through your website as well. *Regards* Manpreet Singh +91-9945522500 On Sun, Apr 12, 2015 at 6:23 PM, Andrew Solomon wrote: > Hello Manpreet > > Firstly, let me openly state that I have vested interests in this topic as > the owner of Geekuni (https://geekuni.com

Re: Need Advice on Perl learning

2015-04-12 Thread Andrew Solomon
Hello Manpreet Firstly, let me openly state that I have vested interests in this topic as the owner of Geekuni (https://geekuni.com/) a company providing online hands-on Perl courses. (That is, I don't claim to be objective! ;) Although 'Learning Perl' and 'Intermediate Perl' are very well writte

Re: Need Advice on Perl learning

2015-04-12 Thread Manpreet Singh
Thank you Shlomi & Phil. This is really helpful. -Manpreet *Regards* Manpreet Singh +91-9945522500 On Sun, Apr 12, 2015 at 5:56 PM, Shlomi Fish wrote: > Hi Manpreet, > > Please reply to all recipients. See the last line of my signature for > details. > > On Sun, 12 Apr 2015 17:35:53 +0530 > Ma

Re: Need Advice on Perl learning

2015-04-12 Thread Shlomi Fish
Hi Manpreet, Please reply to all recipients. See the last line of my signature for details. On Sun, 12 Apr 2015 17:35:53 +0530 Manpreet Singh wrote: > Hello All, > > I am and have been an avid Java programmer. I started learning Perl about a > month ago as I took up a new role in QA automation

Need Advice on Perl learning

2015-04-12 Thread Manpreet Singh
Hello All, I am and have been an avid Java programmer. I started learning Perl about a month ago as I took up a new role in QA automation. I have gone through the 'Learning Perl' Llama book by OReilly and did quite a few scripts in office. I love Perl and love the fact how it is totally different

Re: Need explanation of code

2015-04-12 Thread Shawn H Corey
On Sat, 11 Apr 2015 21:20:22 -0700 SSC_perl wrote: > Could someone please explain the difference between: > > %{$self->{'DATA'}} = () } %{ $self->{'DATA'} } = (); > > and > > $self->{'DATA'} = {} > > I was told that they are equivalent, but they're not. One > works and the ot

Re: Bizarre copy of HASH in list assignment...

2015-04-12 Thread Manfred Lotz
Hi Shlomi, it took me a while to get back to it. The versions of the two systems where the error came up are: 1. Slackware 14.0, kernel 3.2.29-smp "This is perl 5, version 16, subversion 3 (v5.16.3) built for i486-linux-thread-multi" Carp.pm: our $VERSION = '1.26'; 2. Debian testing ("Debian 3.

Re: Need explanation of code

2015-04-12 Thread Andrew Solomon
Eeeks, Sorry Shlomi, I can't help thinking my German lessons have been counter-productive... A On Sun, Apr 12, 2015 at 10:37 AM, Shlomi Fish wrote: > On Sun, 12 Apr 2015 09:36:00 +0100 > Andrew Solomon wrote: > > > Thank you very much Schlomi - I stand corrected! > > > > You're welcome, Andrew

Re: Need explanation of code

2015-04-12 Thread Shlomi Fish
On Sun, 12 Apr 2015 09:36:00 +0100 Andrew Solomon wrote: > Thank you very much Schlomi - I stand corrected! > You're welcome, Andrew! Just note that my name is spelled "Shlomi" - not "Schlomi". See: * http://www.shlomifish.org/meta/FAQ/#your_name You can also call me "Rindolf": http://www.sh

Re: Need explanation of code

2015-04-12 Thread Andrew Solomon
Thank you very much Schlomi - I stand corrected! Frank, another way of putting what Schlomi has illustrated is that: %{$self->{'DATA'}} = ( foo => 'bar' ); means "change the contents of the hash which $self->{'DATA'} refers to", while $self->{'DATA'} = { foo => 'bar' }; means "change $self->{'

Re: Need explanation of code

2015-04-12 Thread Shlomi Fish
Hi Andrew, On Sun, 12 Apr 2015 07:25:55 +0100 Andrew Solomon wrote: > Hi Frank > > I found the first one rather obscure, but they are equivalent. No - they are not exactly the same. See below: > To prove > this, Data::Dumper is my friend: > > #!/usr/bin/perl > > use strict; > use warnings;