in reply to running perl scripts from other perl scripts.
For the pgp, try looking at the several pgp modules.
For the other system call, you could do something like this:
<bold>note: untested code</bold>
or maybe even simpler
-derby