-
Notifications
You must be signed in to change notification settings - Fork 577
Perl6::Say fails tests with perl-5.10.0-GitLive-maint-5.10-1551-gadd0c32 #9789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
From [email protected]Perl6::Say fails tests with /home/acme/perlsnapshot/bin/perl -Ilib -e 'use Perl6::Say; use /home/acme/perl-5.10.0/bin/perl -e 'use Perl6::Say; use The outputs should be the same. They are different. That's as far as I have got. The modules ar ethe same version on both: /home/acme/perlsnapshot/bin/perl -Ilib -e 'use Perl6::Say; use /home/acme/perl-5.10.0/bin/perl -e 'use Perl6::Say; use My 5.10.0: Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Characteristics of this binary (from libperl): My perl-5.10.0-GitLive-maint-5.10-1551-gadd0c32: Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: Characteristics of this binary (from libperl): Enjoy, Léon |
From [email protected]On Tue Jul 07 13:17:33 2009, acme wrote:
On perl-5.10.0 IO::Handle::say looked like: sub say { This was not correct since now the output really is: join("", @_, $, This changed and eventually ended with: http://perl5.git.perl.org/perl.git/blobdiff/ It now reads (in blead and maint): sub say { Which is the correct behaviour. But this change exposes a bug in Perl6::Say::say and in 1) Perl6::Say::say is implemented as: Which is not correct when $ perl -MPerl6::Say -we '$,=" FS ";$\=" RS ";say "foo";printf "\n";' vs $ perl-5.10.0 -wE '$,=" FS ";$\=" RS ";say "foo";printf "\n";' 2) IO::Capture::Tie_STDx::PRINT sub PRINT { This is not correct. Best Regards, Bram |
The RT System itself - Status changed from 'new' to 'open' |
From [email protected]On Tue Jul 07 14:29:45 2009, animator wrote:
One more thought on this: Perl6::Say v0.02 used: print {$fh} @_, defined $\ ? "" : "\n" Perl6::Say v0.03 uses: print {$handle} @_, "\n"; The Changelog reads: Changed $\ interaction in line with changes in Perl 6 design (C<say So the real question: How does say behave in Perl 6? (And/or does Perl 6 has a field and Best regards, Bram |
From @jkeenanOn Tue Jul 07 13:17:33 2009, acme wrote:
I reviewed this older ticket tonight. I should first note that it is of That being said, my hunch is that the problem Léon describes is a side Using IO::Capture::Stdout: ########## $ /usr/bin/perl -v $ /usr/bin/perl -Ilib -I/usr/local/lib/perl5/site_perl/5.10.0 $ perl -v $ perl -MPerl6::Say -MIO::Capture::Stdout -e 'my $capture = ########## Now, using IO::CaptureOutput::capture(): Perl 5.8.6 $ /usr/bin/perl -I/usr/local/lib/perl5/site_perl/5.10.0 -MPerl6::Say Perl 5.16.0 $ perl -MPerl6::Say -MIO::CaptureOutput -e ########## With IO::CaptureOutput we get consistent results for Perl6::Say across I will close this ticket in 7 days unless someone wishes to take it over. Thank you very much. |
From @jkeenanOn Fri Feb 22 19:30:45 2013, jkeenan wrote:
Closing as scheduled. |
@jkeenan - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#67302 (status was 'resolved')
Searchable as RT67302$
The text was updated successfully, but these errors were encountered: