<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 閱讀(1678) 評論(0)  編輯  收藏 所屬分類: Perl

    主站蜘蛛池模板: 免费理论片51人人看电影| 亚洲色偷偷偷鲁综合| 成人特级毛片69免费观看| 免费无遮挡无码视频在线观看| 91视频国产免费| 亚洲精品午夜久久久伊人| 日韩精品免费电影| 国产无遮挡裸体免费视频在线观看| 91亚洲精品麻豆| 亚洲精品国产高清嫩草影院| 美丽的姑娘免费观看在线播放 | 亚洲自偷自偷图片| 999久久久免费精品国产 | 国产婷婷成人久久Av免费高清 | 四虎成人精品一区二区免费网站 | 免费无码毛片一区二区APP| 亚洲精品久久无码av片俺去也| 伊伊人成亚洲综合人网7777| 三年片在线观看免费观看高清电影| 亚洲综合伊人制服丝袜美腿| 中文字幕亚洲第一| 大陆一级毛片免费视频观看| 久久免费视频99| 一区二区三区免费视频网站| 亚洲不卡影院午夜在线观看| 亚洲成A人片在线观看无码不卡| 香蕉视频在线观看免费国产婷婷 | 成年免费大片黄在线观看com| 亚洲午夜国产精品| 国产V亚洲V天堂无码久久久| 国产男女性潮高清免费网站| 4虎1515hh永久免费| 成人免费一区二区三区| 国产成人亚洲综合在线| 伊人久久大香线蕉亚洲| 日本特黄a级高清免费大片| 91黑丝国产线观看免费| 久久国产免费一区二区三区 | 国产猛烈高潮尖叫视频免费| 免费A级毛片无码免费视| 91福利视频免费|