The common practice in Perl is of course to end modules with 1; so that a call to require can then be checked for success. Is there any reason that the return
I think (1) there's no problem with returning any arbitrary true value from your module but (2) there's a big problem with the obscure, overly-clever code you suggest to exploit the module implementation details. Don't do that.