if ($session = $cgi->param('session')) {
$cache = get_cache_handle();
$data = $cache->get($session);
print $cgi->header,
$cgi->start_html(
-title => 'Extract peptide masses',
-style => { src => '/stylesheet.css' },
($data->[0] ? () : (-head => [""]))
); #generate HTML document start
print '
';
print << 'HTML_END' unless $data->[0];
The system is now getting the required file(s) and extracting the required information.
Please do not close this browser.
Links to the result(s) will be displayed when the process is done.
HTML_END print $cgi->pre($cgi->escapeHTML($data->[1])); print $cgi->end_html;