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 operator? I 
> saw it doesn't here.
> Ok you may say 3.4 is a float not a statement with '.' operation, but this 
> case really make people confused.

I challenge you to find a single person "confused" by the difference
between
3.4
and
3 . 4

Paul Lalli


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to