名词解释:超文本的名词解释标语语言htmy

认知语言学视角下的隐喻理论与英语教学_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
认知语言学视角下的隐喻理论与英语教学
上传于||文档简介
&&认​知​语​言​学
阅读已结束,如果下载本文需要使用
想免费下载本文?
你可能喜欢超文本标记语言HTML_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
超文本标记语言HTML
上传于||文档简介
&&w​e​b​开​发​应​用​,​超​文​本​标​记​语​言​H​T​M​L​是​做​网​页​时​非​常​有​用​的​语​言
大小:4.74MB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢[转]perl学习笔记之三:模式匹配,模块,文档
来自:&廖海仁
Perl语言的最大特点,也是Perl作为CGI首选语言的最大特点,是它的模式匹配操作符。Perl语言的强大的文本处理能力正是通过其内嵌的对模式匹配的支持体现的。模式通过创建正则表达式实现。Perl的正则表达式与模式匹配的特点一是内嵌于语言之中,而不是通过库或函数来实现,因此使用更简便;二是比一般的正则表达式与模式匹配功能强大。
模式匹配操作符简介
匹配(包含)
不匹配(不包含)
$haystack =~
$haystack =~
$italiano =~ s/butter/olive
tr///(y///)
$rotate13 =~
tr/a-zA-Z/n-za-mN-ZA-M/
正则表达式
使用说明:
l&&&&&&&&&注意区别记忆Perl的绑定操作符(=~)与AWK的相应操作符(AWK的绑定匹配操作符是&~),Perl与AWK的否定匹配操作符相同(都是!~)
l&&&&&&&&&没有绑定操作符时,默认是对$_进行绑定:
life/ and /new
civilizations/&(对$_进行两次查找)
s/suger/aspartame/&&(对$_进行替换)
tr/ATCG/TAGC/&&&&(对$_进行转换)
l&&&&&&&&&m//操作符前面的m可以省略,但是不省略可读性更好,建议不省略。
l&&&&&&&&&如果有绑定操作符=~,m//都省略也表示匹配:
“matches” if $somestring =~
“matches” if $somestring =~ m/$somepattern/;
l&&&&&&&&&m//,
s///, tr///,
qr//操作符是引用操作符,你可以选择自己的分割符(与q//, qq//, qw//一样):
=~ s#/tmp#/var/tmp/scratch#
if&&($dir =~
m[/bin]) {
“No binary directories please. /n”;
l&&&&&&&&&一个括号可与其它括号配合使用,可以用空格分开:
s(egg)&larva&
s(larva){pupa};
s[pupa]/imago/;
&larva&;&&&&
l&&&&&&&&&如果一个模式成功匹配上,$`,
$’将被设置,分别表示匹配左边、匹配、匹配右边的字符串:
cross buns” =~ /cross/;
“Matched: &$`& $&
&$’&/n”;&&&#
Matched &hot & cross &
l&&&&&&&&&模式模式后设置的特殊变量如下:
匹配文本之前的文本
匹配文本之后的文本
$1、$2、$3
对应第1、2、3组捕获括号匹配的文本
编号最大的括号匹配的文本
最后结束的括号匹配的文本
目标文本中各匹配开始位置的偏移值数组
目标文本中各匹配结束位置的偏移值数组
最后执行的嵌入代码的结果,如果嵌入代码结构作为条件语句的if部分,则不设定$^R
s///和qr//都接受以下修饰符:
进行忽略字母大小的匹配
单行模式(让.号匹配换行符并且忽略过时的$*变量,点号通配模式)
多行模式(让^和$匹配内含的换行符(/n)的之后与之前。如果目标字符串中没有“/n”字符或者模式中没有&^&或&$,则设定此修饰符没有任何效果)。
(增强的行锚点模式)
宽松排列和注释模式(忽略空白符(除转义空白符之外)并且允许模式中的注释)
仅编译一次模式,防止运行时重编译
m//w+:(/s+/w+)/s*/d+/;&&&&&&&&&&#
A word, colon, space, word, space, digits
(/s+&&/w+) /s*
/d+/x;&&&&&#
A word, colon, space, word, space, digits
/w+;&&&&&&&&&&&&&&&&&&&&&#
Match a word and a column
(&&&&&&&&&&&&&&&&&&&&&&&&#
(begin group)
&&&&/s+&&&&&&&&&&&&&&&&&&#
Match one or more spaces.
&&&&/w+&&&&&&&&&&&&&&&&&#
Match another word
)&&&&&&&&&&&&&&&&&&&&&&&&#
(end group)
/s*&&&&&&&&&&&&&&&&&&&&&&#
Match zero or more spaces
/d+&&&&&&&&&&&&&&&&&&&&&&#
Match some digits
"paragrep" mode
&&&&&&&&&&&&&&&/b&&&&&&&&&&&#
start at a word boundary
&&&&&&&&&&&&&&&(/w/S+)&&&&&&#
find a wordish chunk
&&&&&&&&&&&&&&&(
&&&&&&&&&&&&&&&&&&&/s+&&&&&&#
separated by some whitespace
&&&&&&&&&&&&&&&&&&&/1&&&&&&&#
and that chunk again
&&&&&&&&&&&&&&&)
+&&&&&&&&&&#
repeat ad lib
&&&&&&&&&&&&&&&/b&&&&&&&&&&&#
until another word word boundary
&&&&&&&&&&}xig
&&&&&&&&&&&print
"dup word '$1' at paragraph $. /n";
模式匹配操作符详解
7.3.1&m//操作符(匹配)
m/PATTERN/cgimosx
/PATTERN/cgimosx
?PATTERN?cgimosx
m/PATTERN/cgimosx
/PATTERN/cgimosx
?PATTERN?cgimosx
l&&&&&&&&&如果PATTERN是空字符串,最后成功执行的正则表达式将被代替使用。
l&&&&&&&&&m//特殊修饰符如下:
查找所有的匹配
在/g&匹配失败后允许继续搜索
l&&&&&&&&&在LIST上下文中m//g返回所有匹配
if&(@perls = $paragraph =~ /perl/gi) {
&&&&printf
“Perl mentioned %d times./n”, scalar @
l&&&&&&&&&??分隔符表示一次性匹配,&‘’分隔符压制变量替换和/U等六个转换
"/usr/share/dict/words"&&or
die "Cannot open words: $!/n";
(&DICT&) {
&&&&$first
= $1 if ?(^love.*)?;
&&&&$last&&=
$1 if /(^love.*)/;
$first, "/n";
$last, "/n";
7.3.2&s///操作符(替换)
=~ s/PATTERN/REPLACEMENT/egimosx
s/PATTERN/REPLACEMENT/egimosx
l&&&&&&&&&该操作符在字符串中查找PATTERN,&如果查找到,用REPLACEMENT代替匹配的子串。返回值是成功替换的次数(加/g修饰符可能大于1)。若失败,返回””(0)。
&if ($lotr =~ s/Bilbo/Frodo/)
{ print “Successfully wrote sequel. “ }
&$change_count = $lotr =~
s/Bilbo/Frodo/g;
l&&&&&&&&&替换部分作为双引字符串,可以使用动态生成的模式变量($`,$&,
$’, $1, $2等):
s/revision/version/release//u$&/g;
s/version ([0-9.]+)/the $Names{$1} release/g;
l&&&&&&&&&如果PATTERN是空字符串,最后成功执行的正则表达式将被代替使用。PATTERN和REPLACEMENT都需进行变量替换,但是PATTERN在s///作为一个整体处理的时候替换,而REPLACEMENT在每次模式匹配到时替换。
l&&&&&&&&&s///特殊修饰符如下:
替换所有的匹配
将右边部分作为一个Perl表达式(代码)而不是字符串
/e修饰符的实例:
s/[0-9]+/sprintf(“%#x”, $1)/ge
&&&version
&&&$Names{$1}
“the $Names{$1} release”
l&&&&&&&&&不替换原字符串的方式:
=~ s/Bilbo/Frodo/g;
= $hobbit) =~ s/Bilbo/Frodo/g;
l&&&&&&&&&替换数组中的每一元素:
(@chapters) { s/Bilbo/Frodo/g }
s/Bilbo/Frodo/g for @
l&&&&&&&&&对某一字符串进行多次替换:
($string) {
($newshow = $oldshow) {
&&&&s/Fred/Homer/g;
&&&&s/Wilma/Marge/g;
&&&&s/Pebbles/Lisa/g;
&&&&s/Dino/Bart/g;
l&&&&&&&&&当一次全局替换不够的时的替换:
&# put comma in the right
places in an integer
s/(/d)(/d/d/d)(?!/d)/$1,$2/;
&# expand tabs to 8-column
&1 while s//t+/’ ‘ x
(length($&)*8 & length($`)%8)/e;
&# remove (nested (even
deeply nested (like this))) remarks
s//([^()]*/)//g;
&# remove duplicate words
(and triplicate ( and quadruplicate…))
&1 while s//b(/w+)
7.3.3&tr///操作符(字译)
=~ tr/SEARCHLIST/REPLACELIST/cds
tr/SEARCHLIST/REPLACELIST/cds
使用说明:
l&&&&&&&&&tr///的修饰符如下:
补替换&(Complement SEARCHLIST)
删除找到未替换的字符串(在SEARCHLIST中存在在REPLACELIST中不存在的字符)
将重复替换的字符变成一个
l&&&&&&&&&如果使用了/d修饰符,REPLACEMENTLIST总是解释为明白写出的字符串,否则,如果REPLACEMENTLIST比SEARCHLIST短,最后的字符将被复制直到足够长,如果REPLACEMENTLIST为空,等价于SEARCHLIST,这种用法在想对字符进行统计而不改变时有用,在用/s修饰符压扁字符时有用。
tr/aeiou/!/;&&&&&&&&#
change any vowel into !
tr{////r/n/b/f.
}{_};&&# change
strange chars into an underscore
tr/A-Z/a-z/ for
@ARGV;&&&#
canonicalize to lowercase ASCII
= ($para =~ tr//n//);
= tr/0-9//;
tr/a-zA-Z//s;&&&&&#
bookkeeper -& bokeper
tr/@$%*//d;&&&&&&&&&&&&&#
delete any of those
tr#A-Za-z0-9+/##&&&&&&#
remove non-base64 chars
change en passant
= $host) =~ tr/a-z/A-Z/;
$pathname =~
tr/a-zA-Z/_/&&#
change non-(ASCII) alphas to single underbar
Perl元字符有:
[ { ^ $ * + ?
正则表达式元字符的意义如下:
集群(作为一个单位)
字符串开始
匹配一个字符(一般除换行符外)
字符串结尾(或者换行符之前)
+&?是数量元字符,Perl数量相关元字符意义如下:
Quantifier
匹配0或多次(最大匹配),相当于{0,}
匹配1或多次(最大匹配),相当于{1,}
匹配1或0次(最大匹配),相当于{0,1}
匹配精确COUNT次
匹配最少MIN次&(最大匹配)
匹配最小MIN最大MAX次(最大匹配)
匹配0或多次(最小匹配)
匹配1或多次(最小匹配)
匹配1或0次(最小匹配)
匹配最少MIN次&(最小匹配)
{MIN,MAX}?
匹配最小MIN最大MAX次(最小匹配)
扩展正则表达式序列如下:
Cluster-only
parentheses, no capturing.
(?imsx-imsx)
Enable/disable
pattern modifiers.
(?imsx-imsx:...)
Cluster-only
parentheses plus modifiers.
lookahead assertion succeeds.
lookahead assertion fails.
lookbehind assertion succeeds.
lookbehind assertion fails.
nonbacktracking subpattern.
embedded Perl code.
Match regex
from embedded Perl code.
(?(...)...|...)
Match with
if-then-else pattern.
(?(...)...)
Match with
if-then pattern.
说明:以上定义了向前查找(?=PATTERN),负向前查找(?!PATTERN),向后查找(?&=PATTERN),负向后查找(?&!PATTERN),条件查找等较为高级的正则表达式匹配功能,需要使用时请查阅相关资料。
字母顺序元字符意义:
Match the null
character (ASCII NUL).
character given in octal, up to&/377.
Match&nth previously captured
string (decimal).
alarm character (BEL).
True at the
beginning of a string.
backspace character (BS).
True at word
True when not
at word boundary.
control character
Control-X&(/cZ,&/c[,
Match one byte
(C&char) even in utf8 (dangerous).
digit character.
nondigit character.
escape character (ASCII ESC, not backslash).
(/L,&/U) or metaquote (/Q) translation.
Match the form
feed character (FF).
end-of-match position of prior&m//g.
Lowercase the
next character only.
newline character (usually NL, but CR on Macs).
named char (/N{greek:Sigma}).
character with the named property.
character without the named property.
(de-meta) metacharacters till&/E.
return character (usually CR, but NL on Macs).
whitespace character.
nonwhitespace character.
Match the tab
character (HT).
Titlecase next
character only.
Uppercase (not
titlecase) till&/E.
"word" character (alphanumerics plus "_").
nonword character.
character given in hexadecimal.
Match Unicode
"combining character sequence" string.
True at end of
string only.
True at end of
string or before optional newline.
(以上均直接Copy自《Programming
Perl》,下面未翻译者同)
其中应注意以下经典的字符集合:
/p{IsDigit}
/P{IsDigit}
Whitespace
/p{IsSpace}
Nonwhitespace
/P{IsSpace}
[a-zA-Z0-9_]
/p{IsWord}
character)
[^a-zA-Z0-9_]
/P{IsWord}
POSIX风格的字符类如下:
alphanumeric, that is,
an&alpha&or
Any letter.
(That's a lot more letters than you think, unless you're thinking
Unicode, in which case it's still a lot.)
Any character
with an ordinal value between 0 and 127.
Any control
character. Usually characters that don't produce output as such,
but instead control
for example, newline,
form feed, and backspace are all control characters. Characters
with an&ord&value less than 32
are most often classified as control characters.
A character
representing a decimal digit, such
as&0&to&9.
(Includes other characters under Unicode.) Equivalent
alphanumeric or punctuation character.
A lowercase
alphanumeric or punctuation character or space.
punctuation character.
character. Includes tab, newline, form feed, and carriage return
(and a lot more under Unicode.) Equivalent
Any uppercase
(or titlecase) letter.
Any identifier
character, either an&alnum&or
underline.
hexadecimal digit. Though this may seem silly
([0-9a-fA-F]&works just fine), it is included for
completeness.
注意:POSIX风格字符类的使用方法,
/^[[:digit:]]+$/&&(正确)
/^[:digit:]$/&&&(错误)
这里使用的模式以[[开头,以]]结束,这是使用POSIX字符类的正确使用方法。我们使用的字符类是[:digit:]。外层的[]用来定义一个字符集合,内层的[]字符是POSIX字符类的组成部分。
常见问题的正则解决方案
(((/d{1,2})|(1/d{2})|(2[0-4]/d)|(25[0-5]))/.){3}((/d{1,2})|(1/d{2})|(2[0-4]/d)|(25[0-5]))
邮件地址:
(/w+/.)*/w+@(/w+/.)+[A-Za-z]+
(以上邮件地址正则表达式并非严格的,但是可以匹配绝大多数普通的邮件地址。
{http://([^/:]+)(:(/d+))?(/.*)?$}i
https?://(/w*:/w*@)?[-/w.]+(:/d+)?(/([/w/_.]*(/?/S+)?)?)?
C语言注释:
在Perl中,类、包、模块是相关的,一个模块只是以同样文件名(带.pm后缀)的一个包;一个类就是一个包;一个对象是一个引用;一个方法就是一个子程序。这里只说明其最简单的使用方法。
以下是一个模块(Bestiary.pm)的编写方式,可以作为写一般模块的参考。
package&&&&&&B
require&&&&&&E
our @ISA&&&&&&&= qw(Exporter);
our @EXPORT&&&&= qw(camel);&&&&# Symbols to be exported by default
our @EXPORT_OK = qw($weight);&&# Symbols to be exported on request
our $VERSION&&&= 1.00;&&&&&&&&&# Version number
### Include your variables and functions here
sub camel { print "One-hump dromedary" }
$weight = 1024;
(引自《Programming Perl》)
以下例子用来构建一个Ipregion对象,可以使用该对象的get_area_isp_id方法查找一个IP的地区与运营商。本例可以作为写一般对象的参考。
($DEFAULT_AREA_ID, $DEFAULT_ISP_ID) = ();
($START_IP, $END_IP, $AREA_ID, $ISP_ID) = (0 ..
$invocant =
$ip_region_file =
$class = ref($invocant) || $
];&&&&&&&&&&&&&&&&&&&&&#
$self is an reference of array of arrays
Read into ip region data from file
my $fh_ip_region, '&',
$ip_region_file&&&
"Cannot open $ip_region_file to load ip region data $!";
&&&&&while
(&$fh_ip_region&) {
&&&&&&&&&&&&
&&&&&&&&&&&&my
($start_ip, $end_ip, $area_id, $isp_id) =
&&&&&&&&&&&&$self-&[$i++]
= [ $start_ip, $end_ip, $area_id, $isp_id ];
&&&&&bless($self,
&&&&&return
get_area_isp_id {
$self&&&&&&&&=
$ip&&&&&&&&&&=
$area_id = $DEFAULT_AREA_ID;
$isp_id&&&&&=
$DEFAULT_ISP_ID;
Check if a ip address is in the table using binary search
0;&&&&&&&&&&&&&&&&&
$right&&&&&&&=
1;&&&&&&&&&&&&&&&&&&&#
Get max array
$&&&&&&&&&&&&&&&&&&
($left &= $right) {
&&&&&&&&$middle
= int( ($left + $right) / 2 );
&&&&&&&&if
( ($self-&[$middle][$START_IP] &=
$ip) && ($ip &=
$self-&[$middle][$END_IP]) ) {
&&&&&&&&&&&&$area_id
= $self-&[$middle][$AREA_ID];
&&&&&&&&&&&&$isp_id&&=
$self-&[$middle][$ISP_ID];
&&&&&&&&&&&&
&&&&&&&&elsif
($ip & $self-&[$middle][$START_IP])
&&&&&&&&&&&&$right
= $middle - 1;
&&&&&&&&else
&&&&&&&&&&&&$left
= $middle + 1;
&&&&return
($area_id, $isp_id);
该对象的使用方法是:
$ip_region =
Ipregion-&new("new_ip_region.dat");
@search_result =
$ip_region-&get_area_isp_id();
.Perl特殊变量
变量符号(名)
sort函数使用存储第一个将比较的值
sort函数使用存储第二个将比较的值
默认的输入或模式搜索空间
子程序中默认存储传入参数
The special filehandle that
iterates over command-line filenames in @ARGV
Contains the name of the
current file when reading from ARGV filehandle
containing the command-line arguments intended for
$^T ($BASETIME)
The time at which the
script began running, in seconds since the epoch
($CHILD_ERROR)
The status returned by the
last pipe close, backtick(``)command, or wait, waitpid, or system
functions.
This special
filehandle refers to anything following the __END__ or the __DATA__
token in the current file
$)&&($EGID,
$EFFECTIVE_GROUP_ID)
The effective GID of this
$EFFECTIVE_USER_ID)
The effective UID of this
process as returned by the geteuid(2) syscall
The hash containing
your current environment variables
($EVAL_ERROR)
The currently
raised exception or the Perl syntax error message from the last
eval operation
Exporter模块import方法使用
@EXPORT_OK
Exporter模块import方法使用
%EXPORT_TAGS
Exporter模块import方法使用
The hash containing
entries for the filename of each Perl file loaded via do FILE,
require or use
containing the list of directories where Perl module may be found
by do FILE, require or use
&$INPUT_LINE_NUMBER)
The current record
number (usually line numberZ) for the last filehandle you read
$INPUT_RECORD_SEPARATOR)
The input record
separator, newline by default, which is consulted by the readline
function, the &FH& operator, and the
chomp function.
$/=””将使得记录分割符为空白行,不同于”/n/n”
$/;&文件剩余所有行将全部一次读入
$/=/$number将一次读入$number字节
This array contains
names of other packages to look through when a method call cannot
be found in the current package
@+ @- $` $’
$& $1 $2 $3
匹配相关变量
Filehandle相关
($LIST_SEPARATOR)
When an array or
slice is interpolated into a double-quoted string, this variable
specifies the string to put between individual elements. Default is
存储平台名
$! ($ERRNO,
$OS_ERROR)
数值上下文:最近一次调用的返回值
字符串上下文:响应系统错误信息
$OUTPUT_FIELD_SEPARATOR)
print的字段分割符(默认为空)
$OUTPUT_RECORD_SEPARATOR)
print的记录分割符(默认为空,设为”/n”是很好的选择)
The process
($PROGRAM_NAME)
$PEAL_GROUP_ID)
进程的真正GID
($UID, $PEAL_USER_ID)
The hash used to set signal
handlers for various signals
标准错误Filehandle
标准输入Filehandle
标准输出Filehandle
$SUBSCRIPT_SEPARATOR
The subscript sesparator
for multidimensional hash emulation
$foo{$a,$b,$c}=$foo{join($;,$a,$b,$c)}
说明:若需要使用长文件名,必须使用use E
程序文档(POD)
POD(Plain Old
Documentation),&它是一种简单而易用的标记型语言(置标语言),用于perl程序和模块中的文档书写。POD中用段分可以分为三种,普通段落,字面段落(Verbatim
Paragraph)和命令段落。三者的区分非常简单,以=pod|head1|cut|over等指示字开始的段落为命令段落,以空格或制表符(/t)等缩进开始的段落为字面段落,其余的就是普通段落。POD中有其独特的格式代码来表现粗体,斜体,超链接等。
POD使得Perl语言的文档编写易于完成,程序说明文档与程序源代码同时存在。可以用以下解释器解释POD:
pod2text、pod2man (pod2man File.pm |nroff
&man |more)、pod2html、pod2latex。
一般建议对源代码包括以下部分的POD文档:
The name of
your program or module.
A one-line
description of what your program or module does
(purportedly).
DESCRIPTION
The bulk of
your documentation. (Bulk is good in this context.)
Who you are.
(Or an alias, if you are ashamed of your program.)
What you did
wrong (and why it wasn't really your fault).
Where people
can find related information (so they can work around your
The copyright
statement. If you wish to assert an explicit copyright, you should
say something like:
2013, Randy
Waterhouse.&&All
Rights Reserved.
Many modules
This program
software.&&You may
redistribute
it under the same terms as Perl itself.
为了使程序易于阅读、理解和维护,建议使用以下编程风格(以下建议均为Larry
Wall在perlstyle文档中所写,其实许多条对于其它语言编程也适用):
l&&&&&&&&&多行BLOCK的收尾括号应该跟结构开始的关键字对齐;
l&&&&&&&&&4列的缩进;
l&&&&&&&&&开始括号与关键字同一行,如果可能的话,否则,与关键字对齐;
l&&&&&&&&&在多行BLOCK的开始括号之前留空格;
l&&&&&&&&&一行的BLOCK可以写在一行中,包括括号;
l&&&&&&&&&在分号前不留空格;
l&&&&&&&&&分号在短的一行BLOCK中省略;
l&&&&&&&&&在大多数操作符两边留空格;
l&&&&&&&&&在复杂的下标两边加空格(在方括号内);
l&&&&&&&&&在做不同事情的代码段中留空行;
l&&&&&&&&&不连接在一起的else;
l&&&&&&&&&在函数名和开始的括号之间不加空格;
l&&&&&&&&&在每一逗号后加空格;
l&&&&&&&&&长行在操作符后断开(除了and和or外)
l&&&&&&&&&在本行匹配的最后的括号后加空格
l&&&&&&&&&相应项竖直对齐
l&&&&&&&&&只要清晰性不受损害省略冗余的标点符号
l&&&&&&&&&你能怎样做不意味着你应该怎样做。Perl设计来给予你做任何事的多种方法,所以选择最易读的方法。
open(FOO, $foo) || die
“Cannot open $foo: $!”;
比&die “Cann’t open $foo: $!”nless
open(FOO, $foo)
l&&&&&&&&&不要害怕使用循环标号,它们可以增强可读性并且允许多层循环跳出。
l&&&&&&&&&选择易于理解的标示符。如果你不能记住你的记忆法,你将碰到问题
l&&&&&&&&&在使用长标示符时用下划线分隔单词
l&&&&&&&&&在使用复杂的正则表达式时使用/x
l&&&&&&&&&使用here文档而不是重复的print()语句
l&&&&&&&&&垂直对齐相应的东西,特别是在一行不能容下时
l&&&&&&&&&总是检查系统调用的返回值。好的错误信息应该输出的标准错误输出,包括那一程序造成了问题的信息。
l&&&&&&&&&对齐转换的信息:
&&&&&&&&[xyz]
l&&&&&&&&&考虑复用性,一般化你的代码,考虑写一个模块或者类。
l&&&&&&&&&使用POD文档化你的代码
l&&&&&&&&&保持一致
l&&&&&&&&&保持友好
【1】Larry Wall, Tom
Christiansen & Jon Orwant. Programming Perl. Third
Edition (The Camel Book)
【2】Randal L.
Schwartz, Tom Phoenix, and brian d foy. Learning Perl (The Llama
【3】Damian Conway.
Practices(Perl&最佳实践—影印版).
O’reilly.&东南大学出版社. 2006.4
Forta著.杨涛等译.&正则表达式必知必会.北京:人民邮电出版社.
【5】Jeffrey E.F.
Friedl著.&余晟译.&精通正则表达式(第3版).北京:电子工业出版社.
【6】The perldoc
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。建设网站的基础HTML语言_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
建设网站的基础HTML语言
上传于||暂无简介
大小:656.00KB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢hyper text
Certainly, Andreessen didn't think up using hypertext to link Internet documents.
当然,用超文本链接因特网文档并不是安德烈亚森发明的.
Program that helps in writing hypertext or multimedia applications.
帮助写超文本或多媒体应用程序的软件.
Arguably the whole concept of hypertext - as - technology really started back the forties.
超文本即是科技这个具争议性的观念始于四十年代.
1.hypertext
超(Hypertext)是用的方法,将各种不同空间的文字在一起的网状文本。超文本更是一种用户介面范式,用以显示文本及与文本之间相关的内容。现时超文本普遍以方式存在,其中的文字包含有可以到其他位置或者文档的连结,允许从当前阅读位置直接切换到超文本连结所指向的位置。超文本的格式有很多,目前最常使用的是(Hyper Text Markup Language,HTML)及 (Rich Text Format,RTF)。
超文本(hypertext)(Hypertext)是由一个叫做网页浏览器(Web browser)的程序显示。网页浏览器从网页服务器取回称为“文档”或“网页”的信息 …
- 基于7301个网页
hyper text
超文本(Hyper text)在咨询型课件中大量使用。学习者在学习的过程中,可以看到很多关键词都以超文本的形式出现,如果需要对某 …
- 基于401个网页
HT Hyper Text
...HT Horizontal Tabulation character 横向制表(符)HT Hyper Text 超文本HTB Hexadecimal To Binary 从十六进制到二进制.
- 基于53个网页
PowerBuilder... ... 12.2.9 外部文本( OLE 2.0) 12.2.10 超文本( RichText) 12.2.11 复合( Composite).
- 基于31个网页
超文本标记语言
hyper text markup language HTML表示超文本标记语言(Hyper Text Markup Language)。 HTML文件是一个包含标记的文本文件。 这些标记保速浏览器怎样显示这个页面。 HTML文件必须有htm或者html扩展.
- 基于407个网页
超文本标示语言
HTML HTML5 for Masterminds_文档下载_IT168文库 ... 超文本标记语言( HTML) 超文本标示语言( HTML).
- 基于567个网页
超文本传输协议
HTTP 当超文本传输协议 (HTTP) 请求超出某个特定阈值时回收工作进程。根据应用程序接收到的请求数目,应用程序出现故障。
- 基于17583个网页
HyperText Transport Protocol 串口设备GPRS... ... 4、MODULE 模块指示灯 (HyperText Transport Protocol, 超文本传输协议)开放的。) 1、POWER 电源灯.
- 基于809个网页
超文本预处理器
Hypertext Preprocessor 网络软件开发_百度文库 ... (Hypertext Preprocessor, 超文本预处理器)与 (Active Server Pages, 动态服务器主页)是.
- 基于195个网页
本内容来源于
创建新的生词本
i该生词本已经创建啦!
i不可以出现中文,英文,数字之外的符号哒!
i生词本名称长度不能大于24字符!
i请填写生词本名称!}

我要回帖

更多关于 超文本的名词解释 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信