-
Notifications
You must be signed in to change notification settings - Fork 579
caller(0) returns wrong line number when called from single-stmt else{...} #16872
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
Comments
From @jimavThis is a bug report for perl from jim.avera@gmail.com, caller(0) seems to return the wrong line number if the sub was called This messes up Carp::confess() backtraces, making it sometimes difficult #!/usr/bin/perl use Carp; Flags: Site configuration information for perl 5.26.2: Configured by Ubuntu at Mon Nov 19 15:05:42 UTC 2018. Summary of my perl5 (revision 5 version 26 subversion 2) configuration: Locally applied patches: @INC for perl 5.26.2: Environment for perl 5.26.2: |
From [email protected]I can confirm this on 5.22.4 Cygwin. $ perl $ perl $ perl $ perl $ perl $ perl |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#133895 (status was 'open')
Searchable as RT133895$
The text was updated successfully, but these errors were encountered: