(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!

tags:

 
"Gotta run. Neighbors just sighted Elvis making crop circles."

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