Re: Displaying the output of a system command in HTML

2001-08-28 Thread Stephen P. Potter
Lightning flashed, thunder crashed and "Ackim Chisha" <[EMAIL PROTECTED]> whis pered: | Now I need to display the output of a system command to HTML. It can't = | seem to work I don't know why. Here is what am trying to do, | | Am running the following command, | | $command =3D 'pgp -kv' ; | |

Re: Displaying the output of a system command in HTML

2001-08-27 Thread randy Peterman
I don't use Perl for Administration, and have not run too much other than CGI apps, but you may want to try: #Your code here $command = 'pgp -kv' ; #pass the returned value to an array @Commands = system($command) ; #Display the code in a nice table print qq|COMMANDS|; #iterate through the A