fork download
  1. use v5.10;
  2.  
  3. print"Username: ";chop($u=<>);$n=reverse$u;print"Password: ";$_=<>;
  4. say/^\pL.{7,11}$/*/\d/*/[A-Z]/*9>y/A-Z//&&y/a-z//<9*/[a-z]/*
  5. !/[" #,;->^&[|)]|$u|$n|(.).*\1.*\1|(.)\2.*(.)\3/?"OK.":"Nope."
  6.  
Success #stdin #stdout 0.02s 5652KB
stdin
JOE.smith
JOE!smith123
stdout
Username: Password: Nope.