Gentoo Archives: gentoo-dev

From: Michael Cummings <mcummings@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] where to put *.pm files
Date: Wed, 25 May 2005 12:44:57
Message-Id: 200505250512.53708.mcummings@gentoo.org
In Reply to: [gentoo-dev] where to put *.pm files by Rene Zbinden
1 Well, first off, how does the program look for the perl modules? If it isn't
2 suggesting that you place them in your @INC, then it is most likely loading
3 them directly. So it all depends on how the main script (please tell me it
4 isn't really called mainprog.pl) tries to load those modules as to the best
5 place to put them.
6
7 /me waits for the bug report for this one
8
9 On Wednesday 25 May 2005 02:06 am, Rene Zbinden wrote:
10 > Hi
11 >
12 > I am writing a new ebuild. The program contains a perlscript (mainprog.pl)
13 > which needs two perl modules like (module1.pm module2.pm)
14 >
15 > I will put mainprog.pl in /usr/bin but where do I put the two modules.
16 > Shall I put them in /usr/share/programename and put that to the perl path?
17 >
18 > --
19 > cheers,
20 > reen
21
22 --
23
24 -----o()o---------------------------------------------
25 Michael Cummings | #gentoo-dev, #gentoo-perl
26 Gentoo Perl Dev | on irc.freenode.net
27 -----o()o---------------------------------------------

Replies

Subject Author
Re: [gentoo-dev] where to put *.pm files Rene Zbinden <rene.zbinden@××××××.ch>
Re: [gentoo-dev] where to put *.pm files Rene Zbinden <rene.zbinden@××××××.ch>