当前位置:Gxlcms > 数据库问题 > 用字符串对列表赋值,一个字符串对应一个列表元素,eg: my @escaped = "asteriskasterisk hash access unpack_func";

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

时间:2021-07-01 10:21:17 帮助过:14人阅读

 

 

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

 

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

 

输出:$escaped[1] is undef.

 

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

标签:cape   ack   cap   字符   赋值   fun   pack   ash   esc   

人气教程排行