Kevin Pfeiffer wrote: > Hi all, > > (372 unread messages, I'm getting behind, again) > > If I understand things correctly, perl modules, i.e. "mymodule.pm" never > need the exec bit set for (for example, wwwrun) - they're only used by > another perl script? > > -K
If they are correctly designed, yes. Some modules could be run, though. A odule can contain pretty much anything. Perl just interprets each file as Perl. If it sees a package statement, it will copile any following code as part of the package name. If not, it simply compiles the code as part of namespace main. If it sees executable code outside of sub defintions, it runs the code. Generally, though, the pm files should need no associations on the system level. To the file-system, they are data. The interpreter has its own rules for how to find and import definitions from a module. It is more important that the module be located in the @INC path than that the file system know anything about its purpose. Usually when I am testing a module, I will store it in the same directory as the driver file. Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]