use lib "/path/to/that/directory"; use File::Monitor;