Build and Install a PERL module
来源:互联网 发布:my little pony 知乎 编辑:程序博客网 时间:2024/05/22 00:18
1. Build & Install
For example we are going to install Template Perl module under directory ~/tools/perlmodule
- Download Template-Toolkit-2.24.tar.gz
- Unzip Template-Toolkit-2.24
- perl Makefile.PL PREFIX=~/tools/perlmodule
- make
- make test
- make install
2. How to use
In order to use Template module, you must have following 2 statements in your perl file (.pl):
- use lib '~/tools/perlmodule/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi';
- # the path where Template.pm can be found
- use Template;
- # to search Template.pm file
Or you can use environment variable PERL5LIB to set the module search path.
- export PERL5LIB=~/tools/perlmodule/lib64/perl5/site_perl/5.8.8
0 0
- Build and Install a PERL module
- build and install tmux
- How to build and install Open vSwitch on a linux
- Perl Module : How to Install Perl Module on Windows
- 3DSlicer22:Module-ExtensionWizard & Build & Install
- ZZ:Jem's Guide: How to compile and install a new Linux kernel Configure, build, and install
- How to build & install GLFW 3 and use it in a Linux project
- centos apache install geo_ip module and config
- share data between build-in and module
- How do I build the Android SDK with hidden and internal APIs available?Creating a module library and
- perl DBD Informix install and test
- Howto Install Just A Single Module
- build and install openssl with vc++
- Linux Tools Intro - CMake build and install
- build and install everything into local directory
- gitbook install convert pdf and build
- Instant Run performed a full build and install since the installation on the device does not match t
- perl module
- Makefile:2:*** missing separator. Stop
- springMVC 自定义类型转换器
- centos 7 install xfce
- ***P381
- Java-6.2-接口回调
- Build and Install a PERL module
- 机器学习笔记(十六)——EM算法概述
- 董西城问答整理:第二课
- 透过Retrofit使用看其源码设计模式
- iOS日常学习 - 每个Xcode开发者应该知道的七个使用技巧
- C++命名空间
- AJAX_XMLHttpRequest对象
- JavaScript入门<2>JavaScript常用内置对象实例详解
- 个人手游开发者