Hi there!

I've developed a module for fvwm-perllib using it with Fvwm-Nightshade. It 
works fine if I copying it to the lib location. 

Now I want to install it with Fvwm-Nightshade. This is fine as the user is 
root. Make can copy it to the right place.
But it is also possible to install Fvwm-Nightshade locally e.g. to ~/.local/. 
Now make can't copy it to the right place.

The path to fvwm-perllib is (on my system): /usr/share/fvwm/perllib/
underneath the structure:
FVWM/
FVWM/Modules/
...

The module's package name is FVWM::Modules::SimpleGtk2 and it is placed in 
FVWM/Modules/ because it's a sub module of Modules.pm located in FVWM/.

Now my question:

How can I add the module to the perllib so that the inheritance with Module.pm 
works as expected. Is it enough to copy the module to e.g.
~/.local/perllib/FVWM/Modules/

and add

use lib "/home/tf/.local/perllib/"

before

package FVWM::Modules::SimpleGtk2


?

Thanks in advance for answering :-)

Best,
Thomas


--
"Two things are infinite: the universe and human stupidity; and I'm not sure 
about the the universe."   --   Albert Einstein

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to