{ print "Content-type: text/plain\n\n\n";
The MIME type is not part of the table of results, but rather is used by the client or Web browser to interpret the format of the data which follows.
).
$tst = `$queryExe $ra $dec $radius`;
print "$tst";
invoke program genfield (variable $queryExe has
previously been set to contain the name and directory specification
of the executable for genfield) to generate the star list,
copy the list the to variable $tst and then write the contents
of $tst to standard output. (Hint: Perl has several mechanisms
for invoking processes and directing their output to standard output;
I found the one described to be the most suitable for use in a CGI
script.)
print "[EOD]\n";
The string `[EOD]' informs the client that the server has finished sending data.
Writing Catalogue and Image Servers for GAIA and CURSA