title: How to pass variable value to gpg commands
body: <pre><code>$importkey = system('gpg --import newkey.asc . $username');
  </code></pre>
  
  <p>need to pass the file name as a variable.so that file name with its contents can be import in gnupg keyring.</p>
  
  <pre><code>$gpg = system('gpg --recipient userid  --output filename --armor  --encrypt filename to encrypt', $retvalue);
  </code></pre>
  
  <p>how can i pass the recipient email id(userid) and the filename as variable to gpg commands</p>
  
  <p>thanks!</p>