my $file = '/opt/SampleData.txt'; $encrytion = `pgp -ea +batchmode $file publickey.pgp`;