In debugging perl code it is handy to set a traceback:
use Carp qw(cluck);
And then just before your program/modules dies put:
cluck(”stacktrace starts here…”)
This will reveal all calling modules before the program dies, handy!
In debugging perl code it is handy to set a traceback:
use Carp qw(cluck);
And then just before your program/modules dies put:
cluck(”stacktrace starts here…”)
This will reveal all calling modules before the program dies, handy!
tags: Perl