in reply to Re2: Perl for the Masses?
in thread Perl for the Masses?
I really like debugging cgi programs with it. In X-Windows I set the $ENV{DISPLAY} in the BEGIN block and call ptkdb in the shebang:
You can single step or set breakpoints in your cgi and watch the output get rendered in your browser as you go.#!/usr/bin/perl -d:ptkdb $|++; BEGIN { $ENV{DISPLAY}; }
It should work perfectly the first time! - toma
|
|---|