# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #55196]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55196 >


The behavior of

.sub main

  $N0 = 3.14159
  say $N0
  print $N0
  print "\n"
.end

surprised me, as I got:


[EMAIL PROTECTED]:~/devel/Parrot/trunk$ uname -a
Linux heist 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 
GNU/Linux
[EMAIL PROTECTED]:~/devel/Parrot/trunk$ ./parrot t.pir
3.14159
3.141590

Why should 'print' print trailing a '0' and 'say' not?

Regards,
    Bernhard

Reply via email to