Programming Perl Notes CHAPTER 10 Packages在Perl中, 命名空间称为包(package). 一个文件可以有多个包,一个包也可以跨多个文件。 若要在文件中放一个包,文件名需要和包名相同, 并使用.pm扩展名, 这是perl module的缩写。 模块(module)是Perl中可重用的基本单位。 若要使用模块,需要使用use命令,这是一个编译指令,可以控制从模块导入子例程和变量. The typica 2022-07-12 Perl
Master Regular Expressions 1 Introduction to Regular ExpressionThe Language AnalogyFull regular expressions are composed of two types of characters: 1. The special characters are called metacharacters 2. The rest are called lit 2022-07-08 Regex
Learning Perl Notes 2022/5/25page 21~29Perl 程序并不需要用什么特殊的文件名或扩展名,甚至不用扩展名就最好不要用。 Perl 总是将版本号看作是三位数表示的,如use 5.010 Perl 的注释是从井号(#)开始到行尾结束。 好多Perl程序可能根本不用子程序。 Perl程序并不需要变量声明的部分。 换行符\n(newline character). 分号的目的是分隔不同的 2022-07-04 Perl
Learn-Vim-On-Github Buffers, Windows and TabsBuffersuse :buffers to see all the buffers. 12341. Create buffer. Each time you open a file, Vim create a new buffer for that file.2. Delete buffer. use `:bdelete`.### Windo 2022-07-04 Vim
About-ack [toc] reference 简介ack is a grep-like source code search tool. It uses the perl style regex grammer. ack.vimYou can search on https://vimawesome.com/. Some Syntax! before :Ack, the Vim will not jum 2022-07-03 Tool
end of the stream or a document separator is expected After analysing the error output, I delete the {} in the file, and it’s fixxed. 2022-07-02 Errors