file index1.epl: [- Execute ({ inputfile => 'subs.epl', import=>1 }) -] <html> <head><title> test </title></head><body> here some body text [- Execute ({ inputfile => 'footer.epl'}) -] </body></html>
file footer.epl:
[- &mysub(); -]
I get the again: Undefined subroutine &Embperl::__3::mysub
If it could be solved it would be great.
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.
--
Kee Hinckley
http://www.messagefire.com/ Anti-Spam Service for your POP Account
http://commons.somewhere.com/buzz/ Writings on Technology and Society
I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
