good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Because it's the calling context that matters! Bare return; does the right thing in both scalar and list contexts. In my mind, that's a good thing. If you find yourself in an ambiguous situation, then you disambigate by being explicit. It would be nice if there were never ambiguous code, but that's not realistic. In reply to Re^5: Module Announcement: Perl-Critic-1.01 (just a scalar)
by chromatic
|
|