perl基础-2 (Perl编程24学时教程)

perl基础-2 (Perl编程24学时教程),第1张

概述#!$radius =50;$area = 3.14*($radius**2);print $area ,"\n";##############################################if ('leon' =~ /\bleon\b/) {print ("I am leon!\n");}else {print ("who
#!$radius =50;$area = 3.14*($radius**2);print $area,"\n";##############################################if ('leon' =~ /\bleon\b/) {print ("I am leon!\n");}else {print ("who am i?\n");}##############################################$a = 'hello world ';$b = "fuck u";print  $a+$b,"\n";print  $a.$b,"\n";##############################################$name = "leon";$astring = 'my name is $name';$bstring = "my name is $name";$cstring = "my name is $name";print  $astring,"\n";print  $bstring,"\n";print  $cstring,"\n";##############################################$mstring = "fuck " x 10;print $mstring,"\n";print $Ustring = uc(leon),"\n";print lc($Ustring),"\n"; print rand(),"\n"; $instring = "zzz";$instring++;print $instring,"\n"; $instring--;            #what???print $instring,"\n"; 
总结

以上是内存溢出为你收集整理的perl基础-2 (Perl编程24学时教程)全部内容,希望文章能够帮你解决perl基础-2 (Perl编程24学时教程)所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1293091.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-10
下一篇 2022-06-10

发表评论

登录后才能评论

评论列表(0条)

保存