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
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