Skip to content
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

check length of handlers #12

Open
autarch opened this issue May 16, 2020 · 0 comments
Open

check length of handlers #12

autarch opened this issue May 16, 2020 · 0 comments

Comments

@autarch
Copy link
Member

autarch commented May 16, 2020

Migrated from rt.cpan.org #87050 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2013-07-19 14:40:29
:

use_dhandlers and use_autohandlers fall into the return precedence trap [perl #59802].

i.e. return defined $self->{autohandler_name} and length $self->{autohandler_name};
never checks the length as it parses to
(return defined $self->{autohandler_name}) and length $self->{autohandler_name};

See attached patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant