473,405 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to include CPAN packages inside my application

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
1 1662
gpraghuram
1,275 Expert 1GB
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

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

Similar topics

31
by: surfunbear | last post by:
I've read some posts on Perl versus Python and studied a bit of my Python book. I'm a software engineer, familiar with C++ objected oriented development, but have been using Perl because it is...
0
by: WhiteShepherd | last post by:
Here's a question for people in the know. On PHP there is a global option to turn on Zlib compression to save bandwidth. On perl is there anything similar? I currently run Ikonboard via Active...
1
by: jack | last post by:
I don't want to pester, but i have just one more follow up to this script I'm writing: The files I'm pulling has bylines in them. If I do this: ($byline, $title) = $_ =~...
1
by: Tom | last post by:
How do i run a batch file from a perl script? thanks in advance Tom
0
by: JD | last post by:
Hi, I've searched for several weeks, and I've found code that should allow me to post from my perl script. I continue to fail, though. Admittedly, I am not good with OOP (other than VB). I'm...
6
by: amerar | last post by:
Hi All, I have a form that uses Javascript to validate some fields. Whe the user selects to submit the form with certain values selected, I want to be able to execute a Perl script, query the...
2
by: skip | last post by:
Sorry to ask a Perl question here, but... Does Perl have something like Python's repr() function? I want to print out a string and have CR print as \r, LF as \n, etc. I looked in the Perl/Python...
1
by: M.N.A.Smadi | last post by:
hi guys; sorry for sending a perl question here, but python guy "HAD TO" look at perl code; how can i split a string that contains white spaces and '_' any clue? thanks
8
by: James | last post by:
Say I have a project that I have hosted locally. I have a separate machine which is our production environment. To do our deploys, we've been copying/pasting the folder from our local machines...
1
by: pitjpz | last post by:
We have moved our Database to another server. The server it was on used SQL 4 and the new one its on now uses SQL5 the only problem we can find is that when you attempt to delete a record from...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.