By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,708 Members | 2,055 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,708 IT Pros & Developers. It's quick & easy.

How to include CPAN packages inside my application

P: 1
Hello -

I am a Perl programmer who's developing a Cocoa application with a development team. Our Cocoa-based application is going to execute some Perl scripts to take care of some systems administration tasks at various times.

I've programmed my Perl script using the DBI:: and DBD::SQLite Perl CPAN packages, but I'm concerned that these packages aren't in a standard Perl installation on OS X 10.6.

What are some of my options to include these packages inside my application so Perl on the system can be executed and these packages recognizable by Perl?

Thank you!
Jul 13 '10 #1
Share this Question
Share on Google+
1 Reply


gpraghuram
Expert 100+
P: 1,275
I used to put all the compiled perl modules in a folder and the folder will be part of the application folder which is having scripts and other config.
So when somebody deploys the same they need to change the config file to change the application directory and all Perl Libs shuld be taken from there(The PERL5LIB path shuld be defined with reference to Application path in config)

Raghu
Jul 20 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.