-----------------------------------------Multi-line comment多行注释 -----------------------------------------Single-line comment单行注释 ..
基于20个网页-相关网页
单行注释或者行尾注释从 ##开始,多行注释则放在 #*和 *#之间。
Single-line comments or end-of-line comments are preceded by ##. Multi-line comments are bracketed by the #* and *# pair.
例如,如果要在多行注释中改变一个单词,CDT只分析包含了注释的分区,而不分析其余代码。
For example, if you change a word in a multiline comment, the CDT analyzes the partition containing the comment and not the rest of the code.
尽管可以分为多行并且可以包含注释,但人们还是认为Perl 5的正则表达式很晦涩,对初级perl编程人员来说,它们类似于线路噪音(line noise)。
Even with multiple lines and comments, it would be generous to call Perl 5's regular expressions dense — they are more akin to line noise to a beginning Perl programmer.
应用推荐