PLIC 发表于 2025-3-23 13:12:43
Scalars,that tell us something we already know. Even more rarely do we write programs that do nothing interesting with our data at all. So, if we’re going to write programs that do more than say hello to us, we’re going to need to know how to perform computations, or operations on our data.津贴 发表于 2025-3-23 14:53:53
Lists and Arrays,g scalar variables into which we can store numbers and strings is nice—this allows us to write programs to manipulate data. However, scalars are somewhat limited since they can only contain a single value.针叶类的树 发表于 2025-3-23 19:55:24
Subroutines/Functions,spaces from a string, getting information into a hash in a particular format, and so on. It would be tedious to write out the code for each of these little processes every time we need to use one, and maintaining each code segment would be horrific: if there’s a bug in the way we’ve coded the activiBanquet 发表于 2025-3-24 00:45:28
Files and Data,e can do is ask the user for input using ‹STDIN› and print data on the screen using print (). Pretty simple stuff, yes—but these two ideas actually form the basis of a great deal of the file handling you’ll be doing in Perl.哎呦 发表于 2025-3-24 03:43:56
String Processing,s power in processing text is through its built-in regular expression support that we discussed in Chapter 7. Perl also has many built-in string operators (such as the string concatenation operator . and the string replication operator x) and string functions. In this chapter we will explore several突变 发表于 2025-3-24 10:29:03
References,we discussed hashes in Chapter 5, we learned that hash values are scalars. Therefore, up to this point in our discussion of Perl, we have not been able to create arrays of arrays (also known as multidimensional arrays) or other more complex data types.惰性气体 发表于 2025-3-24 13:39:29
Object-Oriented Perl,ve used in this book up to this point: .. This approach is based on what actions to take—.—and developing subroutines that carry out those actions. In procedural programming, we take the overall system and break it up into smaller and smaller pieces, code the steps for the individual pieces into funPcos971 发表于 2025-3-24 17:01:47
Perl and DBI,operating systems and across databases) application programming interface (API) that allows us to connect to a wide variety of databases including Oracle, Sybase, Informix, MySQL, mSQL, Postgress, ODBC, and many others, even files with comma-separated values (CSV). With this module we can access andarrhythmic 发表于 2025-3-24 20:54:56
face module, DBI. The examples and code provided offer you all of the information you need to start writing your own powerful scripts to solve the problems listed above, and many more...Whether you are a complete novice or an experienced programmer, .Beginning Perl, Second Edition. offers an ideal guide to learning Perl..978-1-4302-0665-1agonist 发表于 2025-3-24 23:19:51
http://reply.papertrans.cn/19/1825/182469/182469_20.png