The Nineth chapter: one of the sub-procedures.
call the subroutine with parentheses, but do not add & at the beginning. one.
do not get the same noun as the built-in function. one third.
to remove the @_ first. one of the restaurants.
use a named argument hash for any subroutine that has more than three parameters. Yi Wu.
use an argument that has no definition or exists to test for gaps. one land.
The @_ is removed and immediately resolves any default argument values. one QI.
The scalar return value must be returned by scalar. one BA.
returns the "obvious" value in the scalar context of the subroutine that returns the list. one, nine.
when there is no "obvious" scalar context return value,
you might consider using Contextual::return instead. 0.
do not use sub-program prototypes. one and one.
returned by an explicit return. A.
Use simple return to return the failure.
Perl Best Practices (excerpt)---09