bad_header_lovers

Mosemann, Russell Russell.Mosemann at cune.edu
Mon Jan 26 20:40:00 CET 2015


Pasi Kärkkäinen asked:
> >   $self;

> I'm not a perl expert but should that be "return $self" instead?

It can, but it doesn't have to be. The last value in the subroutine is always returned, even if there is no "return". A "return" makes it explicit. I believe listing the variable by itself is more efficient than making a call to return.

--
Russell Mosemann, Ph.D.
Professor of Computer Science
Network/Systems Administrator


More information about the amavis-users mailing list