(Tips & Tricks) step back

May 3, 2012

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!


"You can't have everything... where would you put it?"

Powered by Wordpress. Theme by Shlomi Noach, openark.org
© 1997 - 2024 KwaLinux Trainingen | Algemene voorwaarden | KvK: 10147727 | BTW-id: NL001873211B65 | Disclaimer