On Sat, Oct 07, 2000 at 08:14:59PM +0000, neil wrote:
> 
> There are two features which I think would be good to have in
> EmbperlObject. I would like to know what you think:
> 
> 1. The ability for Execute() to look up the directory tree if it can't find
> the named file, in the same way that the EMBPERL_OBJECT_BASE is searched
> for. This would enable more true object-orientation than at present, where
> a file that tries [- Execute ('../file.html') -] will fail if the parent
> directory has no file.html. However file.html may exist further up the
> hierarchy, in which case that one should be found.
> (...)

Just say [- Execute "file.html" -] instead of "../file.html" and
it works. The only problem with this is that you cannot
explicitly skip file.html in the current directory if it exists, so you
will have to work around that somehow (which is not nice but not
too complicated either, I did that several times)

Andre

--
 /"\
 \ /
  X  ASCII Ribbon campaign against HTML E-Mail
 / \

PGP signature

Reply via email to