in reply to GPG w/o modules question
Change your system call to this:
system( "echo $tab[$cnt] | gpg --passphrase-fd 0 ~/file.gpg" ); [download]
-sauoq "My two cents aren't worth a dime.";