On Tue Oct 19 13:47:36 2010, Solomon wrote:
> my $file = open "test.txt", :w;
> 
> for 1..1000 {
>     $file.say: sprintf("This is a test
>    %7d", $_);
> }
> 
> 
> # end of text.txt after executing this:
> 
> This is a test                                        980
> This is a test                                        981
> This is a test                                        982
> This is a test                                        983
> This is a test                                        984
> This is a test                                        985
> This is a test                                        986
> This is a test                                        987
> This is a test                                        988
> This is a test                  # file ends before \n on this line
> 
> This happens with
> 
>     This is Rakudo Perl 6, version 2010.09-60-gd497078 built on parrot
> 2.9.0 r49583
> 
> on the OS X, and
> 
>     This is Rakudo Perl 6, version 2010.09-53-gd357695 built on parrot
> 2.8.0 r49541
> 
> on Linux.
> 

I cannot duplicate this error now. Closable with tests.


-- 
Will "Coke" Coleda

Reply via email to