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

On Monday, January 7, 2002, at 10:00 , James Edward Gray II wrote:

> My memory must be failing because I'm pretty sure I've read the 
> answer to this in my Programming Perl book, but I can't for the 
> life of me find it now.  Why do so many modules end with the 
> line "1;"?

perldoc -f require
[...]
                under the same specified name.  The file must
                return true as the last statement 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.

- --
Craig S. Cottingham
[EMAIL PROTECTED]
PGP key available from: 
<http://pgp.ai.mit.edu:11371/pks/lookup?op=get&search=0xA2FFBE41>
ID=0xA2FFBE41, fingerprint=6AA8 2E28 2404 8A95 B8FC 7EFC 136F 
0CEF A2FF BE41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8Ocb6E28M76L/vkERAl4uAJ91X25k4FvW6TQo6maViR3BF03q/QCglSD3
SFkBRa7qMd/BmBNmIJCKbn0=
=zBIq
-----END PGP SIGNATURE-----

Reply via email to