Suggesting that all functions have to return success or failure — just in case someone tests it in an list context — seems just a little myopic.
I agree. When did I suggest otherwise? I believe I have been consistent in implying (if not outright saying, which is probably my mistake here) that it's functions that do return either success or failure that ought to watch for list context.
In reply to Re^9: Module Announcement: Perl-Critic-1.01 (scalar)
by chromatic
in thread Module Announcement: Perl-Critic-1.01
by jthalhammer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |