This is easy to detect with a module that uses B::Utils. I don't have time to create Devel::DetectUncheckedPrint this morning but am now sharing the contents of my emacs window with you so you can fill in the remaining administrivia.
Huh. I can't figure out how to copy/paste between emacs and mozilla. I guess not. FooSo now that I have a moment longer... this should actually be called Devel::DetectUncheckedOp. The two things to check for are void context and NEXT pointing to leavesub.
In reply to Re: <rant>CPAN modules failing to check for write errors</rant>
by diotalevi
in thread <rant>CPAN modules failing to check for write errors</rant>
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |