if ($cv->{decrypt} =~ /y/i || ! -T $workFile || $workFile =~ /.pgp$/i || $workFile =~ /.gpg$/i) { my $decError = handleDecryption ($workFile); }