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
use exceptions not handled correctly within try block #1213
Comments
From ben@petering.net# "Normal" exception in try {} is caught # But "use" is not. Output (with Rakudo pulled 2009-08-08 06:40 UTC, how on earth do you caught: Could not find non-existent sub widdle (I'm not sure if this is correct, but I'm struggling to imagine why |
From ben@petering.netIn the second example, I'm not sure if that exception is a Control |
ben@petering.net - Status changed from 'new' to 'open' |
From @moritzOn Sat Aug 08 00:00:00 2009, missingthepoint wrote:
$ git-rev-parse HEAD that's the revision (or simpler: git-show | head )
'use' is executed at compile time, and try { } only catches run time At the time of 'use' the try block isn't even parsed yet. Perl 5 does the same, btw: $ perl -we 'eval { use Nonexisting }' So I reject this report as "not a bug". Cheers, |
@moritz - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#68318 (status was 'rejected')
Searchable as RT68318$
The text was updated successfully, but these errors were encountered: