in reply to Help on 16/17/18/19/20 dot pl

To your problem 20.pl

You also have to declare %seen, so when you write my %seen = (); everything (related to this perl snippet) should be ok.

UPDATE: The same with 19.pl

Best regards
McA