Taking note of what has already been mentioned (in particular exporting), find the documentation (POD) for the module and add your subroutine. If there is no documentation then write some (see
perlpod).
Now find the tests for the module. If there are none then this is a good time to write them. Add your new interface to the tests, and run them all together.