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
perl debugger magic comparison does not work sometimes #15407
Comments
From @KES777Created by @KES777The documentations says: But that is not true. How to reproduce: As you can see at example above comparison is not magic first time Another case I have noticed, but this is perl 5.14 (eval 50)[/usr/local/share/perl/5.14.2/Mojo/Loader.pm:23] https://github.com/KES777/Devel-DebugHooks/blob/master/lib/Devel/DebugHooks.pm#L593 return ($line<0?-$line-1:$line) <= $#{ "::_<$file" } Perl Info
|
From @cpansproutOn Thu Jun 23 09:25:22 2016, kes-kes@yandex.ru wrote:
etc. It seems that the array of source lines (@{"_<$filename"}) does not have a numeric value for unbreakable lines. That means that you get a non-numeric warning. Nevertheless, it still compares equal to 0 numerically, so technically the documentation is correct. I’m not saying something shouldn’t be fixed. Maybe it’s the documentation that needs clarification. -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#128466 (status was 'open')
Searchable as RT128466$
The text was updated successfully, but these errors were encountered: