Open atoomic opened 5 years ago
ref $foo ne "ARRAY" should convert to ! is_arrayref($foo) we are missing the negation
ref $foo ne "ARRAY"
! is_arrayref($foo)
perl -Ilib -MRef::Util::Rewriter -E 'say Ref::Util::Rewriter::rewrite_string( q[ ref $foo ne "ARRAY" ] ); ' is_arrayref($foo)
Nice catch!
ref $foo ne "ARRAY"
should convert to! is_arrayref($foo)
we are missing the negation