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.

Regards,
Jeff Pang

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


Reply via email to