in reply to act on a file list

Untested:
for (@file_name) { chomp; my $cmd = "gpg --recipient $gpg_key -q --yes -e $directory/$_"; my $rc = system($cmd); }

Replies are listed 'Best First'.
Re^2: act on a file list
by perl197 (Novice) on Jun 30, 2014 at 20:32 UTC

    Thank-you much!...learning to crawl.