in reply to Re: Re: How to make a module aware of where it is installed?
in thread How to make a module aware of where it is installed?
chromatic said "lib" not "blib". Create a "lib" subdirectory at the top of your package and put any extra files to be installed in there with the proper directory structure.
For example, if you are building your module in /home/tye/Foo-Bar then you could have something like the following files:
and "make" would create the following files:/home/tye/Foo-Bar/MANIFEST /home/tye/Foo-Bar/Makefile.PL /home/tye/Foo-Bar/Bar.pm /home/tye/Foo-Bar/lib/Foo/blurp.pm /home/tye/Foo-Bar/lib/Foo/Bar/Baz.pm
and "make install" would then put them in the correct final location. - tye/home/tye/Foo-Bar/blib/lib/Foo/Bar.pm /home/tye/Foo-Bar/blib/lib/Foo/blurp.pm /home/tye/Foo-Bar/blib/lib/Foo/Bar/Baz.pm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: How to make a module aware of where it is installed?
by jaldhar (Vicar) on Dec 04, 2002 at 16:35 UTC | |
by tye (Sage) on Dec 04, 2002 at 16:43 UTC | |
by jaldhar (Vicar) on Dec 04, 2002 at 16:51 UTC |