> No, something like:
>
> my $rc = HTML::Embperl::Execute({inputfile => $ENV{PATH_TRANSLATED},
>                                                      options =>
> HTML::Embperl::optReturnError,
>                                                       errors =>
\@errors});
>


Now I've tried this:

use HTML::Embperl;

$out = "";
@errors = [];
my $rc = HTML::Embperl::Execute({inputfile => $ENV{PATH_TRANSLATED},
                                 options => HTML::Embperl::optReturnError,
                                 errors => \@errors,
                                 output => \$out});

if($rc ne 0) {
    HTML::Embperl::Execute({inputfile =>
"/usr/www/jbrisbin/finder/htdocs/error.ehtml",
                            param => \@errors,
                            output => \$out});
}

print $out;


which I don't like, because nothing gets sent to the browser until the page
is completely done...i'm also wondering if i'll ever get a situation where
it'll print two headers, for example...??

it does still send the email, though...that's good! :-)

Any other suggestions on making the output show up faster while the search
is working??

Jon Brisbin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to