741057228我QQ 发表于 2018-8-31 11:16:10

Perl基础知识

标量的赋值  $fred = 17;         //將$fred的值设为17
  $barney = ‘hello’;//將$barney的值设为5个字符组成的字符串’hello’
  $barney = $fred +3; //將$barney设为$fred 当前值加上3后的结果即20

页: [1]
查看完整版本: Perl基础知识