in reply to Perl-Qt 2 tutorials with errors?

This error message is typical when you forget the appropriate use statement. I'd expect a she-bang line on line 1, use strict on line 2, and use Qt (or some other Qt) on line 3, and then you wouldn't have a new on line 3. ;-)

But without seeing the code, this is just guessing.

-- Abigail