How to create a Perl Module for code reuse?