Assuming that your rsh command returns a set of values separated by spaces. Change the split pattern if the output of the rsh uses a different separator.my $return_value = `rsh ...`; # your command my @a = split /\s+/, $return_value; print "Content-type: text/html\n\n<html><body><table>\n"; foreach (@a) { print "<tr><td>$_</td></tr>\n" } print "</table></body></html>\n";
In reply to Re: array problem
by Roger
in thread array problem
by bory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |