Hi,
you can set EMBPERL_OBJECT_FALLBACK, then this page is execute if a page
isn't found.
You can get the search path via
[-
$r = shift ;
$path = $r -> Path ;
-]
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
----- Original Message -----
From: "Gavin Carr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 2:34 AM
Subject: Executing file that doesn't exist
> Hi Gerald et al,
>
> I want to be able to do an Embperl::Execute on a file that potentially
> doesn't exist and catch the error (within EmbperlObject, so it's not
> trivial to just do a -f on the file). I've tried the obvious things -
> the 'errors' parameter, $optDisableEmbperlErrorPage, $optReturnError,
> etc - but I keep getting Embperl 'Not found <filename>' errors. Is there
> a way around this?
>
> Alternatively, is there a way of accessing the search path EmbperlObject
> sets up so I can check for the file manually?
>
> Cheers,
> Gavin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]