I've not finished it myself yet, but it might speak to what you're looking for.
As for your example, for a graphical interface to debugging, I've used ActiveState's commercial product, Komodo IDE, and I like the debugger it comes with. Also, Padre, a perl IDE written in perl, has some debugging tools that might be worth a look.
Perl has a fairly extensive command-line debugger which is much better than just sprinkling "print" or "say" throughout the code and hoping that you remove it all later. Check out http://perldoc.perl.org/perldebug.html and http://perldoc.perl.org/perldebtut.html for starters. The GUI tool looks fine, and is probably just a front-end to this stuff anyway, but you'll want to know the CLI in case you need to debug remotely over SSH, or if you want to show off.
Also, check out Perl Best Practices (http://oreilly.com/catalog/9780596001735), which is what many, many Perl-using teams use as a base to standardize their coding styles and approaches to problem solving.
发布评论
评论(2)
Modern Perl by chromatic
我自己还没有完成,但它可能会说话到你正在寻找的东西。
至于你的例子,对于调试的图形界面,我使用了ActiveState的商业产品Komodo IDE,我喜欢它附带的调试器。另外,Padre,一个用 perl 编写的 perl IDE,有一些可能值得一看的调试工具。
Modern Perl by chromatic
I've not finished it myself yet, but it might speak to what you're looking for.
As for your example, for a graphical interface to debugging, I've used ActiveState's commercial product, Komodo IDE, and I like the debugger it comes with. Also, Padre, a perl IDE written in perl, has some debugging tools that might be worth a look.
Perl 有一个相当广泛的命令行调试器,它比仅仅在整个代码中撒上“print”或“say”并希望您稍后将其全部删除要好得多。查看 http://perldoc.perl.org/perldebug.html 和 http://perldoc.perl.org/perldebtut.html 对于初学者来说。 GUI 工具看起来不错,而且可能只是这个东西的前端,但是如果您需要通过 SSH 远程调试,或者如果您想炫耀,您将需要了解 CLI。
另外,请查看 Perl 最佳实践 (http://oreilly.com/catalog/9780596001735),这是许多使用 Perl 的团队用作标准化其编码风格和问题解决方法的基础。
Perl has a fairly extensive command-line debugger which is much better than just sprinkling "print" or "say" throughout the code and hoping that you remove it all later. Check out http://perldoc.perl.org/perldebug.html and http://perldoc.perl.org/perldebtut.html for starters. The GUI tool looks fine, and is probably just a front-end to this stuff anyway, but you'll want to know the CLI in case you need to debug remotely over SSH, or if you want to show off.
Also, check out Perl Best Practices (http://oreilly.com/catalog/9780596001735), which is what many, many Perl-using teams use as a base to standardize their coding styles and approaches to problem solving.