<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    weidagang2046的專欄

    物格而后知致
    隨筆 - 8, 文章 - 409, 評論 - 101, 引用 - 0
    數據加載中……

    ref函數判斷變量是何種類型的引用

    ??? ref EXPR
    ??? ref???? Returns a non-empty string if EXPR is a reference, the empty
    ??????????? string otherwise. If EXPR is not specified, $_ will be used. The
    ??????????? value returned depends on the type of thing the reference is a
    ??????????? reference to. Builtin types include:

    ??????????????? SCALAR
    ??????????????? ARRAY
    ??????????????? HASH
    ??????????????? CODE
    ??????????????? REF
    ??????????????? GLOB
    ??????????????? LVALUE

    ??????????? If the referenced object has been blessed into a package, then
    ??????????? that package name is returned instead. You can think of "ref" as
    ??????????? a "typeof" operator.

    ??????????????? if (ref($r) eq "HASH") {
    ??????????????????? print "r is a reference to a hash.\n";
    ??????????????? }
    ??????????????? unless (ref($r)) {
    ??????????????????? print "r is not a reference at all.\n";
    ??????????????? }
    ??????????????? if (UNIVERSAL::isa($r, "HASH")) {? # for subclassing
    ??????????????????? print "r is a reference to something that isa hash.\n";
    ??????????????? }

    ??????????? See also perlref.

    ?

    posted on 2006-05-09 00:16 weidagang2046 閱讀(1677) 評論(0)  編輯  收藏 所屬分類: Perl

    主站蜘蛛池模板: 四虎影视在线看免费观看| 日韩亚洲人成在线综合| 国产好大好硬好爽免费不卡| 国产亚洲日韩一区二区三区| 新最免费影视大全在线播放| 亚洲va中文字幕无码| 污视频网站免费在线观看| 亚洲国产精品成人AV无码久久综合影院 | 麻豆国产入口在线观看免费| 亚洲AV无码乱码麻豆精品国产| 2021久久精品免费观看| 亚洲中文字幕AV在天堂| 免费黄色毛片视频| 小说专区亚洲春色校园| 亚洲国产高清在线一区二区三区| 久久久WWW免费人成精品| 久久精品国产亚洲av麻豆| 在线看无码的免费网站| 亚洲中文字幕无码中文| 国产小视频免费观看| h视频免费高清在线观看| 亚洲AV无码一区东京热| 黄瓜视频影院在线观看免费| 亚洲AV电影天堂男人的天堂| 亚洲综合最新无码专区| 免费无码VA一区二区三区| 国产成人精品日本亚洲18图| 免费在线一级毛片| 日韩免费观看一区| 亚洲av无码不卡久久| 免费一级国产生活片| 少妇性饥渴无码A区免费 | 亚洲性久久久影院| 久久久久国产精品免费免费不卡| 亚洲av无码不卡久久| 亚洲av手机在线观看| 久久一本岛在免费线观看2020| 国产精品亚洲片在线va| 亚洲一区二区高清| 91黑丝国产线观看免费| 青娱乐在线视频免费观看|