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
@a = eval "error=" vs @a = eval "die" #10898
Comments
From @cpansproutThese return different things, despite the documentation. The docs used to state that undef was returned. Now they say that it is undef or empty list. What actually happens is that a syntax error causes undef to be returned, whereas a runtime error returns an empty list. So should the docs be updated, or the implementation? There are tests in t/comp/retainedlines.t that rely on the undef retval. Flags: Site configuration information for perl 5.13.7: Configured by sprout at Thu Dec 9 14:53:58 PST 2010. Summary of my perl5 (revision 5 version 13 subversion 7) configuration: Locally applied patches: @INC for perl 5.13.7: Environment for perl 5.13.7: |
From @cpansproutThis is now resolved with commit 2bf54cc. |
1 similar comment
From @cpansproutThis is now resolved with commit 2bf54cc. |
@cpansprout - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#80630 (status was 'resolved')
Searchable as RT80630$
The text was updated successfully, but these errors were encountered: