in reply to PGP encryption command not working thru Perl Backticks
So, what is in @sys? I recommend inspecting the generated command before running it:
my $cmd = "pgp -ea +batchmode $dataFile @sys"; warn "Running [$cmd]" if $verbose; $isEncrypted = `$cmd`;
Most likely, things in @sys need double quotes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PGP encryption command not working thru Perl Backticks
by newperlmonkey (Novice) on Oct 08, 2015 at 14:49 UTC |