Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id:
88290
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
EDAVIS [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
1.118
Fixed in:
(no value)



Subject: RequireCheckedSyscalls false positive for opening from a string
Recent perl versions let you read from a string with a filehandle: open my $fh, '<', \$scalar; This open call never returns false - even if $scalar is undef you still get a filehandle. So the usual '... or die' is not needed, indeed, it is misleading because it gives the impression that open() will return false on errors. Perlcritic should not flag a 'Return value of "open" ignored' here.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.