in reply to Re: Can't call sub within same package in BEGIN block
in thread Can't call sub within same package in BEGIN block

That's a good one and thanks for pointing out! I didn't really realize I can use those blocks in this way. Though, what confused me was about use vs BEGIN that I think use subs ... could force perl to read for the rest to find this symbol first. But if say it just mean sub mysub;, and BEGIN will run that ASAP, then I can understand why it happens that way.