2008/1/22, Jeff Pang <[EMAIL PROTECTED]>:
>
>
>
> -Original Message-
> >From: Jenda Krynicky <[EMAIL PROTECTED]>
> >Sent: Jan 23, 2008 12:59 AM
> >To: beginners-list
> >Subject: Re: about the dot
> >
> >From: Jeff Pang
On Jan 22, 2008 10:55 PM, Jeff Pang <[EMAIL PROTECTED]> wrote:
snip
> $ perl -le 'print 3.4 .3. 4'
> Number found where operator expected at -e line 1, near "3. 4"
> (Missing operator before 4?)
> syntax error at -e line 1, near "3. 4"
> Execution of -e aborted due to compilation errors.
>
-Original Message-
>From: Jenda Krynicky <[EMAIL PROTECTED]>
>Sent: Jan 23, 2008 12:59 AM
>To: beginners-list
>Subject: Re: about the dot
>
>From: Jeff Pang <[EMAIL PROTECTED]>
>> I'm a little confused by perl's dot operator.for example,
&g
On Tuesday 22 January 2008 13:06:58 Paul Lalli wrote:
> On Jan 22, 2:00 am, [EMAIL PROTECTED] (Jeff Pang) wrote:
> > I'm a little confused by perl's dot operator.for example,
> >
> > $ perl -le 'print 3 . 4 '
> > 34
> > $ perl -le 'print 3.4 '
> > 3.4
> >
> > these two commands got different resu
On Jan 22, 2:00 am, [EMAIL PROTECTED] (Jeff Pang) wrote:
> I'm a little confused by perl's dot operator.for example,
>
> $ perl -le 'print 3 . 4 '
> 34
> $ perl -le 'print 3.4 '
> 3.4
>
> these two commands got different results.
>
> who says Perl interpreter will ignore the blackspace around an
From: Jeff Pang <[EMAIL PROTECTED]>
> I'm a little confused by perl's dot operator.for example,
>
> $ perl -le 'print 3 . 4 '
> 34
> $ perl -le 'print 3.4 '
> 3.4
>
> these two commands got different results.
>
> who says Perl interpreter will ignore the blackspace around an operator? I
> sa
Jeff Pang wrote:
>
I'm a little confused by perl's dot operator.for example,
$ perl -le 'print 3 . 4 ' 34 $ perl -le 'print 3.4 ' 3.4
these two commands got different results.
who says Perl interpreter will ignore the blackspace around an
operator? I saw it doesn't here. Ok you may say 3.4 is