Including a module

by bobmin(at)nidlink.com

 Date:  Wed, 16 Aug 2000 16:41:26 -0700
 To:  hwg-languages(at)mail.hwg.org
 In-Reply-To: 
  todo: View Thread, Original
Greetings, 
 I've run across a little problem that has me stumped in perl.

 Adding the line;

require "spiderlib.pl";

 To the top of the file with the other required auxilliary files causes 
an error 500 with an error message of;

spiderlib.pl did not return a true value at ss_promain_beta.pl line 17.

 Compling both both modules using the perl -w -c options didn't show 
any major warnings. Both files have the same permissions, as do all 
of the other required code files. For some strange reason the 
require doesn't seem to be working, its almost as if the system can't 
find the file, and even changing the file to its absolute position by 
including the directories didn't work.

 If worse comes to worse, I suppose I could inline the module into 
the main code, but I was trying to keep the mainline routine down, 
its already several thousands of lines long.

 Any suggestions?

	Thanks
	Bob Minnick, Northern Webs
Northern Webs, http://www.northernwebs.com
208.265.0474

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.