[Mimedefang] Curious about the last line in mimedefang-filter

Jason Englander jason at englanders.cc
Mon Feb 24 14:16:01 EST 2003


On Mon, 24 Feb 2003, Jim McCullars wrote:

> What is the purpose of the 1; at the end?

>From 'man perlfunc' (about require):

<SNIP>
    specified name.  The file must return true as the last state-
    ment to indicate successful execution of any initialization
    code, so it's customary to end such a file with "1;" unless
    you're sure it'll return true otherwise.  But it's better just
    to put the "1;", in case you add more statements.
</SNIP>

The MD filter is require()'d by mimedefang.pl

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA




More information about the MIMEDefang mailing list