The two I listed (and doubtless most of the rest of the PDF and RTF modules in CPAN) are "pure perl", which is what I thought you meant when I first read it. If you can build a script on your PC that uses them and does the job, then you can certainly also cut+paste the contents of pure perl modules into your scripts (just remember to switch back to
after including the modules' source).