http://www.perlmonks.org?node_id=998864


in reply to Simple Blackjack progam help

Tip #1 from the Basic debugging checklist is to add this to your code:

use warnings;

That will show you some warning messages as you run your code. diagnostics will give hints as to how to make those warnings go away.