files.pl:
Rename it to files.pm, and put it in the same directory as your global.asa. Say "use files" at the top of global.asa. Restart the web server.
sub loadFileText
Within files.pm, say "require Exporter;" and read the documentation on the Exporter module to find out how to use it to export loadFileText into the global namespace.
menus.pl:
This should probably be another Perl module, not a *.pl file.
require "../../cgi-bin/soren/files.pl";
If you need routines from files.pm here, you shouldn't need a require or use statement here if menus.pm is loaded from another module that does load in files.pm.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]