http://qs321.pair.com?node_id=166233


in reply to Why does Devel::DProf report so much time in BEGIN?

After tirelessly searching for an answer to the same question (hence the search that turned up this page as a result), I ended up just tweaking my code until I got an answer. Several of my subroutines were missing from the DProf report until I removed all "use strict" and "use vars" lines from my code.

I really have no idea why this made a difference. Sure would be nice if it were better-documented.

Anyway, not sure if this helps you out 9 months after the fact, but thought I would share.

--Bob