in reply to Help on uninitialised values

If all else fails, step through the code using 'perl -d:ptkdb myprog.pl'. (requires Devel::ptkdb from http://www.cpan.org or the http://www.activestate.com ppm devel-ptkdb.)