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
Changed behaviour in UNIVERSAL::can #13033
Comments
From david@cantrell.org.uk-- |
From david@cantrell.org.ukCreated by david@cantrell.org.ukReply-To: david@cantrell.org.uk This is a bug report for perl from david@cantrell.org.uk, ----------------------------------------------------------------- UNIVERSAL::can's behaviour has changed between perl 5.16.3 and perl #!/bin/sh does the following with perl 5.16.3:
and this with 5.18.0:
As you can see, UNIVERSAL::can("Foo", "can") and Foo->can("can") only This change broke Params::Validate::Dependencies and no doubt breaks Perl Info
|
From @cpansproutOn Mon Jun 17 06:38:19 2013, david@cantrell.org.uk wrote:
Not exactly. It was not consistent: $ perl -E'package Foo::Bar; say Foo->can("can")'
I’m not so surprised it broke things, but it was never self-consistent
It’s this entry: =item * C<< $class->can >>, C<< $class->isa >>, and C<< $class->DOES >> now return It should probably have gone under Incompatible Changes. See https://rt-archive.perl.org/perl5/Ticket/Display.html?id=47113 for the discussion. I don’t think there is much we can do about it at this stage. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From david@cantrell.org.ukOn Mon, Jun 17, 2013 at 08:25:33AM -0700, Father Chrysostomos via RT wrote:
Eeuuww, that's nasty.
Ah, OK, I was searching for the wrong keyword.
Fair enough. -- Please stop rolling your Jargon Dice and explain the problem |
@cpansprout - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#118513 (status was 'rejected')
Searchable as RT118513$
The text was updated successfully, but these errors were encountered: