Intermediate Perl(影印版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
Intermediate Perl(影印版)电子书下载地址
- 文件名
- [epub 下载] Intermediate Perl(影印版) epub格式电子书
- [azw3 下载] Intermediate Perl(影印版) azw3格式电子书
- [pdf 下载] Intermediate Perl(影印版) pdf格式电子书
- [txt 下载] Intermediate Perl(影印版) txt格式电子书
- [mobi 下载] Intermediate Perl(影印版) mobi格式电子书
- [word 下载] Intermediate Perl(影印版) word格式电子书
- [kindle 下载] Intermediate Perl(影印版) kindle格式电子书
内容简介:
从一个Perl爱好者到一个Perl程序员。《Intermediate Perl》将教您如何把Perl作为编程语言来使用,而不仅只是作为一种脚本语言。
Perl是一种灵活多变、功能强大的编程语言,可以应用在从系统管理到网络编程再到数据库操作等很多方面。人们常说Perl让容易的事情变简单、让困难的事情变得可行。《Intermediate Perl》正是关于如何将技能从处理简单任务跃升到胜任困难任务的书籍。
本书提供对Perl中级编程优雅而仔细的介绍。由畅销的《学习Perl》作者所著,本书提供了《学习Perl》没有涵盖的内容。
主题包括:
包和命名空间
引用和作用域
操作复杂数据结构
面向对象编程
编写和使用模块
测试Perl代码
为CPAN贡献代码
参照《学习Perl》的成功编排格式,本书的每一章都短小到可以在一到两个小时内读完,并在结束时提供一系列练习题帮助您实践刚刚学到的知识。使用本书,您只需熟悉《学习Perl》的内容并有更进一步学习的决心。
对于不同的人而言Perl是一种不同的语言。对于某些人而言,它只是快速编写脚本的工具,但对于另外的人来说,它就是一种功能完整的面向对象语言。Perl被应用在各种任务当中,从对文本文件进行快速全局替换,到计算需要数星期才能完成处理的海量复杂科学数据。您的使用决定Perl的面貌。但不论您将Perl应用在什么方面,本书将帮助您让应用更加有效、高效和优雅。
《Intermediate Perl》是为了把Perl作为一种编程语言来学习,而不仅是为了写脚本而著。这本书把Perl爱好者变为Perl程序员。
书籍目录:
Foreword
Preface
1. Introduction
What Should You Know Already?
What About All Those Footnotes?
What's with the Exercises?
What If I'm a Perl Course Instructor?
2. Intermediate Foundations
List Operators
Trapping Errors with eval
Dynamic Code with eval
Exercises
3. Using Modules
The Standard Distribution
Using Modules
Functional Interfaces
Selecting What to Import
Object-Oriented Interfaces
A More Typical Object-Oriented Module: Math::Biglnt
The Comprehensive Perl Archive Network
Installing Modules from CPAN
Setting the Path at the Right Time
Exercises
4. Introduction to References
Performing the Same Task on Many Arrays
Taking a Reference to an Array
Dereferencing the Array Reference
Getting Our Braces Off
Modifying the Array
Nested Data Structures
Simplifying Nested Element References with Arrows
References to Hashes
Exercises
5. References and Scoping .
More Than One Reference to Data
What If That Was the Name?
Reference Counting and Nested Data Structures
When Reference Counting Goes Bad
Creating an Anonymous Array Directly
Creating an Anonymous Hash
Autovivification
Autovivification and Hashes
Exercises
6. Manipulating Complex Data Structures
Using the Debugger to View Complex Data
Viewing Complex Data with Data: :Dumper
YAML
Storing Complex Data with Storable
Using the map and grep Operators
Applying a Bit of Indirection
Selecting and Altering Complex Data
Exercises
7. Subroutine References
Referencing a Named Subroutine
Anonymous Subroutines
Callbacks
Closures
Returning a Subroutine from a Subroutine
Closure Variables as Inputs
Closure Variables as Static Local Variables
Exercise
8. Filehandle References
The Old Way
The Improved Way
The Even Better Way
IO::Handle
Directory Handle References
Exercises
9. Practical Reference Tricks
Review of Sorting
Sorting with Indices
Sorting Efficiently
The Schwartzian Transform
Multi-Level Sort with the Schwartzian Transform
Recursively Defined Data
Building Recursively Defined Data
Displaying Recursively Defined Data
Exercises
10. Building Larger Programs
The Cure for the Common Code
Inserting Code with eval
Using do
Using require
require and @INC
The Problem of Namespace Collisions
Packages as Namespace Separators
Scope of a Package Directive
Packages and Lexicals
Exercises
11. Introduction to Objects
If We Could Talk to the Animals...
Introducing the Method Invocation Arrow
The Extra Parameter of Method Invocation
Calling a Second Method to Simplify Things
A Few Notes About @ISA
Overriding the Methods
Starting the Search from a Different Place
The SUPER Way of Doing Things
What to Do with @_
Where We Are So Far
Exercises
12. Objects with Data
A Horse Is a Horse, of Course of Course--or Is It?
Invoking an Instance Method
Accessing the Instance Data
How to Build a Horse
Inheriting the Constructor
Making a Method Work with Either Classes or Instances
Adding Parameters to a Method
More Interesting Instances
A Horse of a Different Color
Getting Our Deposit Back
Don't Look Inside the Box
Faster Getters and Setters
Getters That Double as Setters
Restricting a Method to Class-Only or Instance-Only
Exercise
13. Object Destruction
Cleaning Up After Yourself
Nested Object Destruction
Beating a Dead Horse
Indirect Object Notation
Additional Instance Variables in Subclasses
Using Class Variables
Weakening the Argument
Exercise
14. Some Advanced Object Topics
UNIVERSAL Methods
Testing Our Objects for Good Behavior
AUTOLOAD as a Last Resort
Using AUTOLOAD for Accessors
Creating Getters and Setters More Easily
Multiple Inheritance
Exercises
15. Exporter
What use Is Doing
Importing with Exporter
@EXPORT and @EXPORT_OK
%EXPORT_TAGS
Exporting in a Primarily OO Module
Custom Import Routines
Exercises
16. Writing a Distribution
There's More Than One Way To Do It
Using h2xs
Embedded Documentation
Controlling the Distribution with Makefile.PL
Alternate Installation Locations (PREFIX=...)
Trivial make test
Trivial make install
Trivial make dist
Using the Alternate Library Location
Exercise
17. Essential Testing
More Tests Mean Better Code
A Simple Test Script
The Art of Testing
The Test Harness
Writing Tests with Test: :More
Testing Object-Oriented Features
A Testing To-Do List
Skipping Tests
More Complex Tests (Multiple Test Scripts)
Exercise
18. Advanced Testing
Testing Large Strings
Testing Files
Testing STDOUT or STDERR
Using Mock Objects
Testing POD
Coverage Testing
Writing Your Own Test: Modules
Exercises
19. Contributing to CPAN
The Comprehensive Perl Archive Network
Getting Prepared
Preparing Your Distribution
Uploading Your Distribution
Announcing the Module
Testing on Multiple Platforms
Consider Writing an Article or Giving a Talk
Exercise
Appendix: Answers to Exercises
Index
作者介绍:
暂无相关内容,正在全力查找中
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
暂无相关书籍摘录,正在全力查找中!
在线阅读/听书/购买/PDF下载地址:
原文赏析:
The Skipper and Gilligan are having a conversation:
sub skipper_greets {
my $person = shift;
print "Skipper: Hey there, $person!n";
}
sub gilligan_greets {
my $person = shift;
if ($person eq "Skipper") {
print "Gilligan: Sir, yes, sir, $person!n";
} else {
print "Gilligan: Hi, $person!n";
}
}
skipper_greets("Gilligan");
gilligan_greets("Skipper");
This results in:
Skipper: Hey there, Gilligan!
Gilligan: Sir, yes, sir, Skipper!
So far, nothing unusual has happened. Note, however, that Gilligan has two different behaviors, depending on whether he's addressing the Skipper or someone else.
Now, have the Professor walk into the hut. Both of the Minnow crew greet the newest participant:
skipper_greets('Professor');
gilligan_greets('Professor');
which results in:
...
13.7. Weakening the Argument
The %REGISTRY variable also holds a reference to each animal. So even if we toss away the containing variables, for instance by letting them go out of scope:
{
my @cows = map Cow->named($_), qw(Bessie Gwen);
my @horses = map Horse->named($_), ('Trigger', 'Mr. Ed');
my @racehorses = RaceHorse->named('Billy Boy');
}
print "We've seen:n", map(" $_n", Animal->registered);
print "End of program.n";
we'll still see the same result. The animals aren't destroyed, even though none of the code is holding the animals. At first glance, it looks like we can fix this by altering the destructor:
## in Animal
sub DESTROY {
my $self = shift;
print '[', $self->name, " has died.]n";
delete $REGISTRY{$self};
}
## this code is bad (see text)
But this still res...
其它内容:
编辑推荐
“这是本多么闪耀夺目的Perl书籍啊……这本书为那些渴望提高技能或者提升职业生涯的Perl程序员填补了空白。更为重要的是,看这本书有一种向大师学习的感觉。”
——Russell J.T. Dyer, UnixReview.com
书摘插图
书籍介绍
从一个Perl爱好者到一个Perl程序员。《Intermediate Perl》将教您如何把Perl作为编程语言来使用,而不仅只是作为一种脚本语言。
Perl是一种灵活多变、功能强大的编程语言,可以应用在从系统管理到网络编程再到数据库操作等很多方面。人们常说Perl让容易的事情变简单、让困难的事情变得可行。《Intermediate Perl》正是关于如何将技能从处理简单任务跃升到胜任困难任务的书籍。
《Intermediate Perl》提供对Perl中级编程优雅而仔细的介绍。由畅销的《学习Perl》作者所著,本书提供了《学习Perl》没有涵盖的内容。
主题包括:
包和命名空间
引用和作用域
操作复杂数据结构
面向对象编程
编写和使用模块
测试Perl代码
为CPAN贡献代码
参照《学习Perl》的成功编排格式,本书的每一章都短小到可以在一到两个小时内读完,并在结束时提供一系列练习题帮助您实践刚刚学到的知识。使用本书,您只需熟悉《学习Perl》的内容并有更进一步学习的决心。
对于不同的人而言Perl是一种不同的语言。对于某些人而言,它只是快速编写脚本的工具,但对于另外的人来说,它就是一种功能完整的面向对象语言。Perl 被应用在各种任务当中,从对文本文件进行快速全局替换,到计算需要数星期才能完成处理的海量复杂科学数据。您的使用决定Perl的面貌。但不论您将 Perl应用在什么方面,本书将帮助您让应用更加有效、高效和优雅。
《Intermediate Perl》是为了把Perl作为一种编程语言来学习,而不仅是为了写脚本而著。这本书把Perl爱好者变为Perl程序员。
网站评分
书籍多样性:7分
书籍信息完全性:5分
网站更新速度:4分
使用便利性:9分
书籍清晰度:7分
书籍格式兼容性:8分
是否包含广告:4分
加载速度:5分
安全性:9分
稳定性:9分
搜索功能:6分
下载便捷性:8分
下载点评
- 内容齐全(466+)
- 一星好评(256+)
- 无广告(318+)
- 还行吧(297+)
- 在线转格式(516+)
- 微信读书(297+)
- 博大精深(213+)
- 情节曲折(237+)
- 盗版少(101+)
- 傻瓜式服务(496+)
- 五星好评(418+)
- 下载快(275+)
下载评价
- 网友 通***蕊:
五颗星、五颗星,大赞还觉得不错!~~
- 网友 菱***兰:
特好。有好多书
- 网友 居***南:
请问,能在线转换格式吗?
- 网友 蓬***之:
好棒good
- 网友 宓***莉:
不仅速度快,而且内容无盗版痕迹。
- 网友 饶***丽:
下载方式特简单,一直点就好了。
- 网友 相***儿:
你要的这里都能找到哦!!!
- 网友 瞿***香:
非常好就是加载有点儿慢。
- 网友 冯***丽:
卡的不行啊
喜欢"Intermediate Perl(影印版)"的人也看了
轩辕黄帝祝由学研究 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
生命之泉:灵性成长学心灵治疗案例精选 徐敬东 周煊 著 上海画报出版社【正版书籍】 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
家居装修预算 中国电力出版社 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
墨点字帖 国学经典硬笔字帖 孙子兵法 行楷 荆霄鹏书 湖北美术出版社 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
臂架式起重机安全技术 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
地基动力特性测试指南 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
卡斯特桥市长 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
国际共产主义运动历史文献(10) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
现货【外图台版】新译辛弃疾词选 / 聂安福-注译 三民 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
倍速学习法:语文(二年级上 RJ 全彩版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 流行钢琴120首超精选(简谱版) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 曲一线高中政治必修4哲学与文化人教版2021版高中同步配套新教材五三 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 新SAT黄金阅读精讲精析 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 中公最新版2014江苏省公务员录用考试专业用书历年真题精解A类行政职业能力测验+公共基础知识+申论 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 园林植物识别与应用 张建国 王小林 张韩 高教出版社 园林绿化专业课程改革成果教材 高等教育园林绿化专业适用正版 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 升维阅读【官方包邮】玛格梅尔克读书奖得主玛丽安娜沃尔夫新作 自我实现 打造善于阅读的大脑 数字阅读电子阅读儿童青少年 中信正版 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 药物分析与检验(徐亚杰) 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 山西玩全攻略 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 【中商原版】彼得杜拉克非营利组织的管理圣经 从理想 愿景 人才 行销到绩效管理的成功之道 港台原版 Drucker 远流 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
- 每天一个侦探推理游戏 下载 pdf 百度网盘 epub 免费 2025 电子版 mobi 在线
书籍真实打分
故事情节:9分
人物塑造:5分
主题深度:9分
文字风格:5分
语言运用:3分
文笔流畅:8分
思想传递:3分
知识深度:9分
知识广度:8分
实用性:8分
章节划分:4分
结构布局:7分
新颖与独特:3分
情感共鸣:8分
引人入胜:5分
现实相关:3分
沉浸感:7分
事实准确性:5分
文化贡献:7分