in reply to Re^2: Debugging a module?
in thread Debugging a module?
driver.pl
use TestModule; print "I am exiting now.\n";
TestModule.pm
package TestModule; our $x = 0; $DB::single = 1; our $y = $x + 1; our $z = $y ** 3; sub blah { "blah!" } 1;
...and run perl -d driver.pl, the debugger immediately stops at the line our $y = $x + 1. Do you get different results?
|
|---|