in reply to Can't locate define.pm

The code tries to use define, but the module is not installed in the directories where Perl searches for modules. It is probably define which must be installed separately - probably by cpan.