The Official Explanation
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.
Auch.
The full answer to “why is the ‘1;’ necessary at the end of perl modules” in http://lists.netisland.net/archives/phlpm/phlpm-2001/msg00426.html