You could have a look at this post in another thread for a small, real-world example of module use. Note that my module uses the POSIX module which is part of the standard Perl distribution.
I hope this is of use.
Cheers,
JohnGG
Comment on Re: Calling functions from other scripts