use strict; use warnings; use re 'debug'; sub test { my $str = "123456789"; print join(":", split /(?<=...)/, $str); } test();
posted on 2012-04-20 12:56 perlman 阅读(464) 评论(0) 编辑 收藏 举报