The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing Perl Module surjithss Shell Programming and Scripting 2 03-26-2008 01:51 PM
help: error in installing perl module DBD::mysql Yogesh Sawant UNIX and Linux Applications 3 11-05-2007 08:22 AM
perl DBI/DBD Module -in cygwin jambesh Shell Programming and Scripting 3 10-20-2007 02:38 PM
Replace Perl Module name in all Perl scripts rahulrathod Shell Programming and Scripting 2 12-02-2005 01:00 AM
Installing Perl Module Term::ReadKey??? HELP!!! rrivas UNIX for Dummies Questions & Answers 4 03-01-2002 01:32 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-29-2007
jjinno jjinno is offline
Registered User
  
 

Join Date: Jul 2007
Location: Cloud 9
Posts: 72
Can I use a Perl Module without installing it?

I am trying to write a program that will use templates, so I figured I would use the Text::Template CPAN module...

...only problem is that I cant force my "clients" to install this module, cause they are clueless. Is there anyway that I can NOT install it for the whole machine, but install it for JUST my directory... aka: inside my redistributable package? That way, if someone un-tars my package, they get everything, modules and all, no installation necessary.
  #2 (permalink)  
Old 08-29-2007
jjinno jjinno is offline
Registered User
  
 

Join Date: Jul 2007
Location: Cloud 9
Posts: 72
Answer to my own problem:
- Apparently you don't need to do the "make install" step for this particular module, since there are no dependencies, only a Perl Module file. All you have to do is copy the module directory structure into your working directory. So for this module, I have the Perl Module located in ./Text/Template

Its just that easy... and then you can call it in your Perl application just bys saying "use Text::Template"

Thanks anyway
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0