On 2001.08.28 14:50:14 +0200 Arthur Bergman wrote: > > If I return *DATA instead of $fh, I think that the tests will work with > > stdio. Problem : this will imply to use seek() on the DATA filehandle > > and to delete the key 'Foo.pm' from %INC after each test. > > Shouldn't that be safe in this testcase? It is a pretty high level testcase. Yes, you're right. I'll see if I find a clean solution. For some reason, I dislike the *DATA thing. Another option is to write a temporary Foo.pm file, as t/comp/require.t does. -- Rafael Garcia-SuarezThread Previous