merlyn got it in one. When I have a very mysterious error, adding the 'use diagnostics' pragma (right after use strict) shows expanded error messages like the one he quoted.
If you dump the output to a log file, you can peruse it at your convenience. All hail four Xterms!