好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > perl中的$a和$b介紹

perl中的$a和$b介紹

熱門標(biāo)簽:上海企業(yè)外呼系統(tǒng) 萬利達(dá)百貨商場地圖標(biāo)注 智能機(jī)器人電銷神器 河南虛擬外呼系統(tǒng)公司 外呼電信系統(tǒng) 電話機(jī)器人哪里有賣 okcc外呼系統(tǒng)怎么調(diào)速度 惠州龍門400電話要怎么申請 熱門電銷機(jī)器人

即使打開了strict和warnings選項(xiàng)也無妨,下面代碼并無錯(cuò)誤和警告。

復(fù)制代碼 代碼如下:

#!/usr/bin/perl
use strict;
use warnings;
sub test {
    $a = 1;
    $b = 2;
    print $a, "\n";
    print $b, "\n";
}
test();
1;


下面是perl文檔中對這兩個(gè)變量的解釋:

perldoc perlvar
$a
$b Special package variables when using sort(), see "sort" in perlfunc. 
Because of this specialness $a and $b don't need to be declared (using use vars, or our()) even when using the "strict 'vars'" pragma.  Don't lexicalize them with "my $a" or "my $b" if you want to be able to use them in the sort() comparison block or function.

標(biāo)簽:周口 綏化 合肥 百色 淮安 秦皇島 周口 綿陽

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《perl中的$a和$b介紹》,本文關(guān)鍵詞  perl,中的,和,介紹,perl,中的,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《perl中的$a和$b介紹》相關(guān)的同類信息!
  • 本頁收集關(guān)于perl中的$a和$b介紹的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章