用字符串对列表赋值,一个字符串对应一个列表元素,eg: my @escaped = "asteriskasterisk hash access unpack_func";

 

 

    my @escaped = "asteriskasterisk hash access unpack_func";       # 是一个元素的赋值

 

     25 unless( $escaped[1] ){
     26     print "\$escaped[1] is undef.";
     27 }

 

输出:$escaped[1] is undef.

 

posted @ 2019-06-18 10:13  jimy1  阅读(183)  评论(0编辑  收藏  举报
Total Visits
AmazingCounters.com