Foo.pmod/bar.pike
will make Foo.bar a program that you will have to instansiate with Foo.bar() to use.
Foo.pmod/bar.pmod
will make Foo.bar an object.
The program path is the path were progams are searched for when you do
inherit "name";
Not a very useful feature...
/ Martin Nilsson (DivX Networks)
Previous text:
2004-08-28 15:27: Subject: pike modules
What is the difference with the two following examples for bar?
- Foo.pmod/bar.pike
- Foo.pmod/bar.pmod
bar is a file in both cases, and Foo is somewhere where pike finds it.
And asking about modules, pike --help=environment mentions a program path. When is the program path used? For what?
Thanks!
/ Brevbäraren