RE: Range Operator Question

2009-05-29 Thread sanket vaidya
-Original Message- From: Chas. Owens [mailto:chas.ow...@gmail.com] Sent: Friday, May 29, 2009 10:22 AM To: sanket vaidya Cc: beginners@perl.org Subject: Re: Range Operator Question On Thu, May 28, 2009 at 23:49, sanket vaidya wrote: snip > Can anyone write few simple codes explain

Re: Range Operator Question

2009-05-28 Thread Chas. Owens
On Thu, May 28, 2009 at 23:49, sanket vaidya wrote: snip > Can anyone write few simple codes explaining the behavior that Chas > mentioned, So that I can explore the codes for getting better picture? snip #!/usr/bin/perl use strict; use warnings; use Data::Dumper; my @a = 1 ... 10; print "norm

RE: Range Operator Question

2009-05-28 Thread sanket vaidya
-Original Message- From: sanket vaidya [mailto:sanket.vai...@patni.com] Sent: Friday, May 29, 2009 9:20 AM To: 'beginners@perl.org' Subject: RE: Range Operator Question -Original Message- From: Chas. Owens [mailto:chas.ow...@gmail.com] Sent: Thursday, May 28, 2009

RE: Range Operator Question

2009-05-28 Thread sanket vaidya
-Original Message- From: Chas. Owens [mailto:chas.ow...@gmail.com] Sent: Thursday, May 28, 2009 5:55 PM To: sanket vaidya Cc: beginners@perl.org Subject: Re: Range Operator Question On Thu, May 28, 2009 at 07:51, sanket vaidya wrote: > Hi, > > I came across this statement abo

Re: Range Operator Question

2009-05-28 Thread Chas. Owens
On Thu, May 28, 2009 at 07:51, sanket vaidya wrote: > Hi, > > I came across this statement about 'range' operators somewhere. > > There is very little difference between $x..$y and $x...$y, and if the > second operand is a constant then they are identical. > > What is the difference? Kindly explai

Range Operator Question

2009-05-28 Thread sanket vaidya
Hi, I came across this statement about 'range' operators somewhere. There is very little difference between $x..$y and $x...$y, and if the second operand is a constant then they are identical. What is the difference? Kindly explain with example. Thanks & Regards, Sanket Vaidya