Most Perl modules have some "executable code" component ... "XS" ... and frequently they use libraries (DLLs) and set up at install-time the options for getting to those. Therefore, you should not expect, in the general case, for any module to work successfully just by "copying it."