Just to sum it up, so I make sure I got what you are saying. From the 
previous e-mail I understand that:

* Right after the use xxx statement is parsed the corresponding module 
which is 'use'd is fully parsed AND executed. This execution includes 
any top level code not enclosed in subroutines and all subroutines 
referenced by said code, just like if we were to do 'perl <file.pm>'

* Parsing of the original 'use'r code (even if there are BEGIN blocks 
defined firther in the 'use'r) continues only after the abovementioned 
parsing/execution is completed for the 'use'ed module and recursively 
any other modules it in turn might be 'use'ing.

Is this correct? :)

Thanks a lot
Peter 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to