sub is_fibo { my$m=pop;$_=$m=~s/^(.)(?!\1)//for$x,$y; $m=~s/\G(.)\1*/($z=length$&)==$x+$y||return;$x=$y;$y=$z/ge; }