bad_header_lovers

Pasi Kärkkäinen pasik at iki.fi
Mon Jan 26 21:25:54 CET 2015


On Mon, Jan 26, 2015 at 07:40:00PM +0000, Mosemann, Russell wrote:
> 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.
>

Ok, thanks for the explanation :)


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


More information about the amavis-users mailing list