http://qs321.pair.com?node_id=735138


in reply to Can't use an undefined value as an ARRAY reference

You might also find 'use diagnostics;' useful - put this at the top of your program and it'll give you more explainey error messages.