[Mimedefang] Eml Attachments

Jan-Pieter Cornet johnpc at xs4all.nl
Sun Nov 20 09:45:01 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2011-11-18 19:34 , Kevin A. McGrail wrote:
> Note, add/create sub filter_initialize {
>   use File::Copy;
> }

That's superfluous and even slightly wrong. "use" is a compile-time directive, so there's really no point putting it in a subroutine (unless you want to localise the scope of the exported functions/variables, which currently doesn't work really well, but is most certainly NOT what you intended here).

Just put 'use' statements at the top of your script.

- -- 
Jan-Pieter Cornet
SSL is only keeping your connection safe from hackers, crooks and three 
letter agencies by the least secured, least likely to refuse money from 
strangers, and least bullying-proof of several hundred companies worldwide.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF0EAREIAAYFAk7JEm0ACgkQjsayV137eEewaQD4uRE1EkCqKufx3kEjT1TTRObc
mgw7j2qxwK/Bm47T7AD8CkAOduHv8hS1LcUMq9YnNm31cTX5WE4prYsicfzeAlU=
=ZZqk
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list