Re: require() function : strange result

2005-11-30 Thread Jay Scherrer
Simon, Your required file may not already be loaded the first time. Meaning that the file: test.pl will not be loaded until actually required. But once you use the file, it will be part of the ongoing process. Jay Scherrer On Thu, 2005-12-01 at 12:16 +0800, Simon Wong wrote: > Dear All, > > I ha

Re: require() function : strange result

2005-11-30 Thread Philip M. Gollucci
Simon Wong wrote: > - Actually I need to type the absolute path in the require() function, i.e. require("/var/www/html/test01.pl""). What should I do if I need relative path ? All paths are going to relative from the 'cwd' ehich is not the directory your script was initially run in. See ModP