[Mimedefang] use Net::LDAP and file descriptor error.

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Thu Nov 2 06:26:09 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 1 Nov 2006, Matthew Schumacher wrote:

> This code:
>
> sub filter_initialize {
>  use Net::LDAP;
> }

Just a sidenote: "use" is a compile-time keyword, hence, it does not 
matter if you place it in or outern a function.

See: http://www.perl.com/doc/manual/html/pod/perlfunc/use.html

The description offers a runtime variant, too, by leaving away the BEGIN 
keyword and the curlies.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBRUnV2+gJIbZtwg6XAQLM5wf+O+AW+rD+kUMtv5cqN4L9pwo/JNeCPQT+
S3D1EzUd2clzeloZL6egCLxBZ6G+PGxzojjvxw/ZCvBxFgEjSUWwNtFJ5s1x60ZT
EXsWOWrhkYpHYON/ltDQ4zM1qDAQI+8MxxoqDkqFb/sN6t5uCZ5peAk7bOsO5IAo
GRSyrUbk2vjf0yml3hgHcOt4dckfvHGhe7Woljx58ZYkKz4kpJt6mSXXw+IiMmWr
4p/LUU0M5bUsGITWfnvfXIX6SKXiiLvlJn1V/yPHcpsujGs2+sx63VJVUAvPYZFb
NcIjkCGKpSFwxnds8oiXu5Owe7ZGMa0aAjWRLkOkmsbMQjzs4dNAKw==
=txoY
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list