You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello,
reported violations here are cases where find_subroutine_calls()
takes bareword filehandles by function calls for opendir,reardir,closedir and syswrite
looking at the implementation ...
Perl::Critic::StricterSubs::Utils::find_subroutine_calls($doc)
uses my %functions_that_take_filehandles = hashify( qw(print printf read write sysopen tell open close) )
, for taking into account exactly that: functions that take filehandle as first argument.
hello,
reported violations here are cases where find_subroutine_calls()
takes bareword filehandles by function calls for opendir,reardir,closedir and syswrite
looking at the implementation ...
Perl::Critic::StricterSubs::Utils::find_subroutine_calls($doc)
uses my
%functions_that_take_filehandles = hashify( qw(print printf read write sysopen tell open close) )
, for taking into account exactly that: functions that take filehandle as first argument.
This cures the false violations
The text was updated successfully, but these errors were encountered: