At 10:00 AM -0600 1/7/02, 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;"?
To ensure that a true value is returned when the module is 'use'd. Any value or expression would do, provided it yields a value Perl interprets as true. People complain about having to provide it, and I think it's going away in Perl 6. I just think of it as the module signing off, "Yours Truly." 1; -- - Bruce __bruce_van_allen__santa_cruz_ca__
