<%doc> =head1 NAME missing_exposures.html =head1 SYNOPSIS Use: missing_exposures.html?exp="exposure1"&exp="exposure2"&...&exp="exposureN" =head1 Description This mason component displays the status of the exposures specified using the python script written by Serge Chastel. =head1 ARGUMENTS =over 4 =item exp Exposure whose status is to be retrieved. =back =head1 AUTHOR Denver Green, Edgreen@ifa.hawaii.eduE. =head1 COPYRIGHT Copyright 2012 by Institute for Astronomy, University of Hawaii. =head1 DATE 17-Feb-2012 =cut % for my $line (@result) { my @foo = split /\|/, $line; % }
Exposure Status Comment
<% $foo[0] %> <% $foo[1] %> <% $foo[2] %>
<%args> @exp <%init> my $exp_list = join(' ', @exp); # Execute ipp_query to get exposure status and save output. my $cmd = "ipp_query.py $exp_list 2>&1 | sort"; my @result = `$cmd`; # Debugging code below. #$r->content_type('text/plain'); #$m->clear_buffer; #$m->print($cmd, "\n", @result, "\n\n"); #$m->abort;