develooper Front page | perl.module-authors | Postings from March 2022

Re: Exporter and subroutine circular dependencies between modules

Thread Previous | Thread Next
From:
David Christensen
Date:
March 14, 2022 02:30
Subject:
Re: Exporter and subroutine circular dependencies between modules
Message ID:
0878f511-92a1-9efb-dd96-137106005256@holgerdanske.com
On 3/13/22 16:12, Shawn H Corey wrote:

> Each module has its own runtime. That is, a module is loaded, compiled 
> and run; all before the main program. In other words, when the module 
> returns from its `use` statement, it has already run.


AIUI that is the view from 20,000 ft..  But, there are details and 
interactions I do not perceive -- 'compile time' vs. 'run time', 'use' 
vs. 'require' and 'import', the symbol table, recursion, etc..  I need 
to dig into the Camel book again; I would rather avoid a code walk.


David

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About