Hi John Lin,
you FIRST have to print the HTTP-Headers, and THEN everything else
follows. this might look a little something like this:
print "Content-Type: text/html\n\n";
open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die "can not list
keys \n";
print ;
close (COMHANDLE) o
Hi list,
I have written a perl CGI script that basically executes a system
command via an open command like so:
open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die
"can not list keys \n";
print ;
close (COMHANDLE) or die "can not close COMHANDLE \n";
For some reason, if I run