Skip to Content
Perl语言入门(第8版)
book

Perl语言入门(第8版)

by Randal L. Schwartz, brian d foy, Tom Phoenix
October 2022
Beginner to intermediate
390 pages
7h 5m
Chinese
Southeast University Press
Content preview from Perl语言入门(第8版)
简介
21
难道你从没写过测试用例么?)。
一个写得好的测试用例应该是任何一个
Perl
用户
都能运行并重现你所找到的问题的。有了能清楚重现
bug
的测试用例后,可以通过
GitHub
链接
https://github.com/Perl/perl5/issues
提交问题。
如果一切顺利,
bug
报告发送后不出几分钟,你就会收到来自开发团队的回应。如果
问题已经解决,他们会给你发送一个补丁文件,然后你可以自己打上补丁,继续手头
的工作。当然,最坏的情况下也可能完全没有回应,
Perl
开发者并不是非得要立即处
理收到的
bug
报告,严格来说他们没有这样的义务。不过既然我们大家都这么热爱
Perl
语言,谁也不会坐等
bug
在自己眼皮底下逍遥法外的。
我该怎么编写
Perl
程序?
差不多是问这个问题的时候了(即使你还没问)。
Perl
程序只是一个纯文本文件,你
可以用任何一个自己喜欢的文本编辑器来创建或编辑
Perl
程序。
Perl
不需要特殊的
开发环境,虽然也有厂商提供专门的商业软件。我们从未用过这类软件,所以没有发
言权,无法向你推荐(相反,我们倒是有一堆理由可以说明根本没必要用这类商业软
件)。不过,你自己的开发环境归根结底还是你自己说了算。随便问三个程序员他们
用什么开发环境写程序,或许会得到八种不同答案。
一般来说,你应该使用程序员专用的文本编辑器,而不是普通的编辑软件。两者有什
么不同呢?程序员专用的文本编辑器可以快速方便地执行写程序时常用的那些操作,
比如调整一段代码的缩排,或是查找并定位成对的括号。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Go程序设计语言

Go程序设计语言

艾伦A. A.多诺万, 布莱恩W. 柯尼汉
Perl语言入门

Perl语言入门

Randal L. Schwartz, brian d foy, Tom Phoenix

Publisher Resources

ISBN: 9787576602036