in reply to Re^2: Simple Perl print() output redirect to html/webpage.
in thread Simple Perl print() output redirect to html/webpage.
This question really isn't in Perl-land any more, but a CGI question. This CGI script should do it:
#!/bin/sh echo "Content-Type: text/plain" echo ssh myusername@server1 ./script.pl arg
I'm not sure why your php solution did not work. Maybe you wanted the passthru function?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Simple Perl print() output redirect to html/webpage.
by Anonymous Monk on Sep 03, 2012 at 07:24 UTC |