print "Enter words separated by commas."; my $answer=<STDIN>; [download]
In reply to Validating User Input by Anonymous Monk