摘要:
匹配:m/<regexp>/ (还可以简写为 /<regexp>/ ,略去 m)替换:s/<pattern>/<replacement>/转化:tr/<pattern>/<replacemnt>/这三种形式一般都和 =~ 或 !~ 搭配使用(其中 "=~" 表示相匹配,在整条语句中读作 does,"!~" 表示不匹配,在整条语... 阅读全文
摘要:
use vars qw($myconfig);$myconfig = {config_file_name => 'default_config',...}其中 qw含义见下表所示:Customary || Generic Meaning ||Interpolates ======================================= '' q// Literal str... 阅读全文