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
push @INC, sub { \[] }; -> crash #9902
Comments
From frank.wiegand@gmail.comCreated by frank.wiegand@gmail.comIf @INC contains a coderef that returns a list- or hashref, perl crashes: % perl -e 'push @INC, sub { \[] }; require doesnotexist' bleadperl (f03173f) crashes too: % bleadperl -e 'push @INC, sub { \[] }; require doesnotexist' perl5.11.0 does *not* crash but gives a wrong error message: % perl5.11.0 -e 'push @INC, sub { \[] }; require doesnotexist' Thanks, Frank Perl Info
|
From zefram@fysh.orgFrank Wiegand wrote:
That's not returning an arrayref, it's returning a *ref*ref. Returning an $ perl -e 'push @INC, sub { [] }; require doesnotexist' Of course, the crash with a refref is still a bug. -zefram |
The RT System itself - Status changed from 'new' to 'open' |
From zefram@fysh.orgNo longer crashes since v5.19.1-66-g9b7d778. Ticket can be closed. -zefram |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#69652 (status was 'resolved')
Searchable as RT69652$
The text was updated successfully, but these errors were encountered: