Next Tricks of the Wizards 185

Trivial Debugger

        package Devel::Count;
        sub DB::DB { ++$count }
        END { print "Total statements: $count\n" }
        Total statements: 286


Next Copyright © 2003 M. J. Dominus