On Thu, Mar 08, 2001 at 02:59:27PM +0000, Robert Price wrote: > I think the answer is that both the modules where the BEGINS are called > twice have "use" in them. "use" means "BEGIN {require Module}", so BEGIN is > being called once when the module is entered, and once when it is used. > > Rob > - SNIP - Fraid not.. tried moving the use out of the BEGIN before and it made no difference: package LTest; use Test2; BEGIN { warn "Test is beginning\n"; } print "Here\n"; 1; Thanks Leo
- Am I going nutts ? - read before answering! Leo Lapworth
- Re: Am I going nutts ? - read before answering! Robert Price
- Re: Am I going nutts ? - read before answering! Leo Lapworth
- Re: Am I going nutts ? - read before answering! Robert Price
- Re: Am I going nutts ? - read before answering! Leo Lapworth
- Re: Am I going nutts ? - read before answer... Robert Price
- Re: Am I going nutts ? - read before a... Mark Fowler
- Re: Am I going nutts ? - read befo... Robert Price
- Re: Am I going nutts ? - read before answering! Philip Newton