Help for this page
if (-s "$imagefile" < 700_000_000 and -e "$imagefile") { print '<script language="JavaScript"> ... ( $? == 0 ) ? &success($date, $time, $hostname, $logdir, $to, $from) : &failure($date, $time, $hostname, $logdir, $to, $from);
eval { foo() or die "foo failed"; ... # deal with unexpected error } }