【文件属性】:
文件名称:定义子程序(sub),如-perl入门教学PPT
文件大小:1.43MB
文件格式:PPT
更新时间:2021-04-25 09:01:34
perl ppt
定义子程序(sub),如:
sub marine {
$n+=1;
print “hello,sailor number $n!\n”;
}
调用子程序
&marine; #打印hello.sailor number 1!
基本语法