I have managed to get this far. I've stripped down read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'}); to the actual input, in this case bob and it works.... but so does bob123 , bobbies and bobs_a_bum etc... Just how do I match the input exactly bob to just bob ???????
thanks in advance code below if ($password =~m/bob/) { wholesale() } else { badpassword() }