标签:input 字符串 nbsp har .com highlight for div rom
use v6; my $input = prompt ‘输入字符串:‘; for $input.words -> $word { say $word; } for $input.comb -> $char { say $char; } #一个是词分隔, 一个是字母分隔
标签:input 字符串 nbsp har .com highlight for div rom
原文地址:http://www.cnblogs.com/perl6/p/6939878.html