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

 
"If you don't believe in oral sex, keep your mouth shut."

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