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程序员。
网站评分
书籍多样性:9分
书籍信息完全性:3分
网站更新速度:7分
使用便利性:8分
书籍清晰度:5分
书籍格式兼容性:3分
是否包含广告:8分
加载速度:3分
安全性:6分
稳定性:9分
搜索功能:5分
下载便捷性:6分
下载点评
- 差评(360+)
- 已买(524+)
- 无盗版(114+)
- 书籍多(609+)
- 好评多(336+)
- 赚了(235+)
- 中评(99+)
- 好评(188+)
- 内容完整(356+)
下载评价
- 网友 谢***灵: ( 2025-01-07 04:58:44 )
推荐,啥格式都有
- 网友 詹***萍: ( 2024-12-25 15:32:44 )
好评的,这是自己一直选择的下载书的网站
- 网友 苍***如: ( 2025-01-16 22:52:05 )
什么格式都有的呀。
- 网友 濮***彤: ( 2025-01-20 08:11:13 )
好棒啊!图书很全
- 网友 利***巧: ( 2025-01-08 02:10:48 )
差评。这个是收费的
- 网友 家***丝: ( 2025-01-15 00:19:32 )
好6666666
- 网友 权***颜: ( 2025-01-12 18:02:53 )
下载地址、格式选择、下载方式都还挺多的
- 网友 沈***松: ( 2025-01-02 16:51:26 )
挺好的,不错
- 网友 马***偲: ( 2025-01-13 19:44:21 )
好 很好 非常好 无比的好 史上最好的
喜欢"Intermediate Perl(影印版)"的人也看了
- 太阳小时候是个男孩/姗姗来了暖心阅读坊 诗歌朗诵给孩子读儿童诗文学9-10-12周岁小学生三四五六年级课外阅读物书籍童心纯真 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 泵空化基础 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 9787551536271 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 运筹学(第4版工商管理通用教材) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 财经法规与职业道德(第二版) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 城镇燃气通用与专业知识(第2版) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 爱的教育 (意)亚米契斯 著 夏丏尊 译 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 生理学 中国医药科技出版社 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 真幌站前番外地 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
- 无限疆域 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线
书籍真实打分
故事情节:8分
人物塑造:9分
主题深度:3分
文字风格:9分
语言运用:6分
文笔流畅:4分
思想传递:7分
知识深度:5分
知识广度:4分
实用性:7分
章节划分:5分
结构布局:3分
新颖与独特:6分
情感共鸣:9分
引人入胜:4分
现实相关:5分
沉浸感:4分
事实准确性:4分
文化贡献:7分