Is it possible?
If the .pm file is pure Perl and doesn't need to be compiled you can just put it in your application's lib folder and use it as normal.