mixing, disting cpan modules with standard ones

mixing, disting cpan modules with standard ones

am 20.01.2010 13:23:45 von p sena

Hello All,

Could someone help with an idea-

I am using few cpan modules for cli application/tools to run in a server or worksations. Those cpan modules i installed as root in the server and use them along with the perl programs which are there in a version control.
Well, in the server it seema Ok to do so. But those tools can be used by users in their workstations also after pulling them from the version control. In that case those cpan modules will not be availaible to the users readily and thus a tool(s) can fail. I dont want let every user donwload the pre-requisite cpan modules and then use the tools. Even though i want to make the cpan modules available readily to the users also and use the tools Ok.
In other words, i think i mean, i want to package all of my modules, cpan modules and standard modules into one.

What would be the best solution for this? Is it ok to put the cpan modules also in version control and keep track? Or any other ideas pls.

Thanks in advance,
prabir




_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: mixing, disting cpan modules with standard ones

am 20.01.2010 21:44:40 von Jan Dubois

On Wed, 20 Jan 2010, p sena wrote:
> I am using few cpan modules for cli application/tools to run in a
> server or worksations. Those cpan modules i installed as root in the
> server and use them along with the perl programs which are there in a
> version control. Well, in the server it seema Ok to do so. But those
> tools can be used by users in their workstations also after pulling
> them from the version control. In that case those cpan modules will
> not be availaible to the users readily and thus a tool(s) can fail. I
> dont want let every user donwload the pre-requisite cpan modules and
> then use the tools. Even though i want to make the cpan modules
> available readily to the users also and use the tools Ok. In other
> words, i think i mean, i want to package all of my modules, cpan
> modules and standard modules into one.
>
> What would be the best solution for this? Is it ok to put the
> cpan modules also in version control and keep track? Or any other
> ideas pls.

Yes, I think it is perfectly fine to put additional CPAN modules
into version control to make sure your application always uses
a consistent and compatible set.

It sounds like your users already all have a local Perl installation
available (and access to your version control system). Otherwise it
might also be an idea to wrap your application with a tool like
PerlApp from the ActiveState Perl Dev Kit, which will give you a
single executable that can run even on machines that don't have Perl
installed at all:

http://www.activestate.com/perl_dev_kit/

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: mixing, disting cpan modules with standard ones

am 21.01.2010 15:14:03 von p sena

>
> Yes, I think it is perfectly fine to put additional CPAN
> modules
> into version control to make sure your application always
> uses
> a consistent and compatible set.
>
> It sounds like your users already all have a local Perl
> installation
> available (and access to your version control system).
> Otherwise it
> might also be an idea to wrap your application with a tool
> like
> PerlApp from the ActiveState Perl Dev Kit, which will give
> you a
> single executable that can run even on machines that don't
> have Perl
> installed at all:
>
> http://www.activestate.com/perl_dev_kit/
>
> Cheers,
> -Jan

Thanks Jan. In that case I have to pick up those root installed cpan modules from the perl lib paths and check them into the version control. Next time who even pulls a workspace from version control they get all of them- standard, cpan and my programs. In this way the programs runs on the server and also local workstations too. Correct ?

Regards & Thanks Prabir Senapati mailto: senapati2001@yahoo.com


--- On Thu, 1/21/10, Jan Dubois wrote:

> From: Jan Dubois
> Subject: RE: mixing, disting cpan modules with standard ones
> To: "'p sena'" , activeperl@listserv.activestate.com
> Date: Thursday, January 21, 2010, 2:14 AM
> On Wed, 20 Jan 2010, p sena wrote:
> > I am using few cpan modules for cli application/tools
> to run in a
> > server or worksations. Those cpan modules i installed
> as root in the
> > server and use them along with the perl programs which
> are there in a
> > version control. Well, in the server it seema Ok to do
> so. But those
> > tools can be used by users in their workstations also
> after pulling
> > them from the version control. In that case those cpan
> modules will
> > not be availaible to the users readily and thus a
> tool(s) can fail. I
> > dont want let every user donwload the pre-requisite
> cpan modules and
> > then use the tools. Even though i want to make the
> cpan modules
> > available readily to the users also and use the tools
> Ok. In other
> > words, i think i mean, i want to package all of my
> modules, cpan
> > modules and standard modules into one.
> >
> > What would be the best solution for this? Is it ok to
> put the
> > cpan modules also in version control and keep track?
> Or any other
> > ideas pls.





_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs