Re: require bug?

2000-07-30 Thread Stas Bekman
Philip Mak wrote: I noticed that the following bit of code does not work properly: require 'test.pl'; chdir '..'; require 'test.pl'; Even though the second require is trying to load a different file, perl thinks that it is the same file and therefore doesn't require it again (I had

require bug?

2000-07-29 Thread Philip Mak
I noticed that the following bit of code does not work properly: require 'test.pl'; chdir '..'; require 'test.pl'; Even though the second require is trying to load a different file, perl thinks that it is the same file and therefore doesn't require it again (I had to use the 'do' command