http://qs321.pair.com?node_id=11121952


in reply to Re^2: Can Test::MockObject mock a file?
in thread Can Test::MockObject mock a file?

I would suggest putting that file in your t/ directory, using FindBin to get the full path to your t/ directory, and then passing that path to your module.