perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McBride <>
Subject Re: Embperl Wishes and comments
Date Sun, 03 Aug 2003 19:47:30 GMT
On Sun, Aug 03, 2003 at 03:23:57PM -0400, Kee Hinckley wrote:
> Yes.  Imports and library loads in general are not inherited.  That's 
> also true in EmbperlObject and I find it somewhat of a pain there as 
> well.  I'd like to keep those components as simple as possible, which 
> means not having to say things like:
> 	[$ var $this $][- $this = shift; use lib Error qw(:try); -]
> in every single one.
> I suspect one way around this is to force them to all be in the same 
> package, but I'm not sure.

If you're already using Embperl::Object, can't you just Execute them
with an 'isa' and access them via the $req object?  Its allows you to
put that in only one file (say base.epl), its clean and it even allows
a hierarchy of calls in case you need to tweak a subroutine in a subdir!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message