LoginSignup
1
0

More than 3 years have passed since last update.

十周くらい遅い、進捗どうですか。

Last updated at Posted at 2015-12-17
test.pl
use strict;
use warnings;
use utf8 ;
binmode(STDOUT, ":utf8");
local $" = '' ;

my @words = qw( 進捗 どう です か ) ;
my @cache = ('')x4;
while ( 1 ){
    print my $str = $words[ int rand @words ]  ;
    push @cache, $str ;
    last if "@words" eq "@cache[-4,-3,-2,-1]"  ;
}
printf "???\n%d文字で煽られました\n", length "@cache" ;
進捗かかです進捗どうかですかかですかどうどうかですどう進捗ですかです進捗ですです進捗かかかどうですですですどうです進捗進捗どうですか???
66文字で煽られました
独り言

編集リクエストへの感謝の表明とかって、どーすればいいんでしょう、、、
言わば私信だから、コメント欄に@IDで書くのも変だし、、、

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0