Guest User

Untitled

a guest
Dec 18th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. sub searchCloser{
  2. my @start=split//,$_[0]; my (@temp,@r,@m,$i);
  3. @temp=@start,splice(@temp,$_,1,'\D'),$m[$_]=join('',@temp)for(0..$#start);
  4. $i=$_,@r=(@r,grep(/^$i$/,@dict))for values@m;
  5. @r
  6. }
Add Comment
Please, Sign In to add comment