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
Wrong line number for FILEHANDLE reported by Xref (Xref.pm V1.01) #7947
Comments
From root@millenium.roThis is a bug report for perl from g.badoi@millenium.ro, Xref.pm (v 1.01) detects wrong line number for filehandles is some circumstances, __________________________________________ #!/usr/bin/perl -w my $a = 1; if ($a) { "perl -MO=Xref bug.pl >buf.xref" generates: __________________________________________ File t.pl reporting STDOUT as used at line 5 instead of line 6. Flags: Site configuration information for perl v5.8.2: Configured by root at Mon Mar 29 10:07:54 MST 2004. Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Locally applied patches: @INC for perl v5.8.2: Environment for perl v5.8.2: |
From @jkeenanOn Thu Jun 02 09:44:48 2005, root@millenium.ro wrote:
I'm not sure this should be considered to be a bug. My (limited) if ($alpha) { ... is equivalent to: if ($alpha) { print STDOUT "This line is misreported\n"; } Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Sat Nov 12 06:54:33 2011, jkeenan wrote:
What’s actually happening is that B::Xref is ignoring nulled cops, which is not terribly surprising, as B did not provide the cop fields for those until I added the feature, in 5.22 iirc. So yes, this is fixable. -- Father Chrysostomos |
Migrated from rt.perl.org#36094 (status was 'open')
Searchable as RT36094$
The text was updated successfully, but these errors were encountered: