文件名称:Perl语言模式匹配-操作符-perl基础教程
文件大小:578KB
文件格式:PPT
更新时间:2024-05-15 02:47:53
perl ppt
Perl语言模式匹配-操作符 语法: $line =~ m/xxxx/; $line =~ s/pattern/replacement/gi 示例: if ($question =~ /please/) { print ("Thank you for being polite!\n"); } else { print ("That was not very polite!\n"); }