> an idea i've been considering was to have some sort of:
>
> [$ uses 'subs.epl' $]
>
> command that did:
>
> compile $epl;
> $pkg = package for $epl;
> push @{caller.'::ISA'}, $pkg;
>
Yes, I agree that would be really usefull.
>
> another approach, that seems to be what people intuitively want is to
> have each file inherit from other copies of itself further up the
> search path. sort of like an implicit [$ uses "../$thisfile" $].
>
I have considered this when I wrote EmbperlObject, I simply didn't do so for
performance reasons. If we have the [$ uses ... $] you suggest, anybody can
simply insert a
[$ uses "../*" $]
at the top of the file that should inherence from it's base. Do you think
that would be ok, or do you think this should be done automaticly by Embperl
?
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 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]