[% my @cmd = `/usr/bin/tail -15 /usr/local/apache2/log/access_log`; my $str = "
##
[%
my $cmd = '/usr/bin/tail -15 /usr/local/apache2/log/access_log';
my $str = "
";
open TAIL, "$cmd|" or $str .= "$!";
while ( ) {
chomp;
$str .= "$_
\n";
}
close(TAIL);
$str;
%]