Re: [code-review] Bencode.pm

Jeremy Zawodny <Jeremy-LaWf/[email protected]> Thu, 2 Oct 2003 08:57:06 -0700
Newsgroups gmane.comp.lang.perl.code-review-ladder
Message-ID <20031002155706.GA4380@thermal>
I'd use an explicit "return $foo" to return values from a subroutine.
That way it doesn't look like a stray variable that's hanging out at
the end, not really doing anything.

If it's explicit, there's no guessing required.

Jeremy
-- 
Jeremy D. Zawodny     |  Perl, Web, MySQL, Linux Magazine, Yahoo!
<Jeremy-LaWf/[email protected]>  |  http://jeremy.zawodny.com/