10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have installed perl in windows.
Now I would like to install spreadsheet::xlsx & DateTime::Format::Excel modules(also few more) at a time instead of installing them seperately.
Could you please let me know how to install more than 1 module as a batch file in windows OS ?
Thanks in... (5 Replies)
Discussion started by: giridhar276
5 Replies
2. Shell Programming and Scripting
I have some custom functions which i want to use in perl Scripting all time.
i want to How to create modules in perl and how to import them.
Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies
3. UNIX for Dummies Questions & Answers
hi guys
I got linux Centos 5.5 on grub I got the latest kernel and updates which I really don't know what I did and I lost a lot of modules and my system is not working properly
old kernel modules - this kernel is working fine
# lsmod
Module Size Used by
autofs4 ... (0 Replies)
Discussion started by: karlochacon
0 Replies
4. Red Hat
Hi All,
I have a customer asking me to install these perl modules on redhat 4 ent:
File::Temp
Getopt::Long
DBD::mysql
Mail::Mailer
DBD::DB2
Any idea how can I install those modules.
Thanks for any comment you may add. (3 Replies)
Discussion started by: itik
3 Replies
5. Shell Programming and Scripting
Hi. i installed perl 5.8.8.822 in my D: drive(windows xp).When im trying to install IO-Stringy.pm module( or any module for tat matter ) it is getting installed in 'c:\temp\please run installed script' folder no matter from where ever i run the ppm installation.The path variable is set to... (3 Replies)
Discussion started by: Anuj8584
3 Replies
6. UNIX for Advanced & Expert Users
I'm on Mac OSX, I *think* I succeeded in installing libpng.
I can see usr/local/lib/libpng.dylib and its brethren are in place after executing ./configure nd and the holy make install. (2 Replies)
Discussion started by: andrewduncan
2 Replies
7. UNIX for Dummies Questions & Answers
I resulted to using /usr/sfw/bin/gmake to install my perl modules until i ran into a problem installing perl/Tk Tk-804.028
gmake: Entering directory `/export/home/Tk-804.028/pod'
Sorry no HTML building yet
gmake: Leaving directory `/export/home/Tk-804.028/pod'
I dont unstand what the error... (2 Replies)
Discussion started by: jameskay
2 Replies
8. Programming
Which is the perferred method of installing Perl modules on a Unix system? Is is CPAN or manually installing them via a tar file? Also can anyone point me in the right direction to a decent "how to" on configuring CPAN and how to perform custom installs from a tar? thanks:b: (2 Replies)
Discussion started by: metallica1973
2 Replies
9. Programming
I am trying to install a perl module using a tar file and am having trouble doing so. I see that on the system there are two version of perl installed.
/usr/bin/perl -v
/usr/perl5/5.6.1/lib/sun4-solaris-64int
/usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int
... (0 Replies)
Discussion started by: metallica1973
0 Replies
10. Shell Programming and Scripting
I have a script that uses the File::Listing module. I am trying to install it, but I read the ReadMe and it states that the following modules should be installed first:
URI
MIME-Base64
HTML-Parser
libnet
Digest-MD5
Compress-Zlib
I am very new to Perl and would apprciate anyone's input on... (1 Reply)
Discussion started by: ssmiths001
1 Replies
Perl::Critic::Policy::Modules::RequireBarewordIncludes(3User Contributed Perl DocumentatiPerl::Critic::Policy::Modules::RequireBarewordIncludes(3)
NAME
Perl::Critic::Policy::Modules::RequireBarewordIncludes - Write "require Module" instead of "require 'Module.pm'".
AFFILIATION
This Policy is part of the core Perl::Critic distribution.
DESCRIPTION
When including another module (or library) via the "require" or "use" statements, it is best to identify the module (or library) using a
bareword rather than an explicit path. This is because paths are usually not portable from one machine to another. Also, Perl
automatically assumes that the filename ends in '.pm' when the library is expressed as a bareword. So as a side-effect, this Policy
encourages people to write '*.pm' modules instead of the old-school '*.pl' libraries.
use 'My/Perl/Module.pm'; #not ok
use My::Perl::Module; #ok
CONFIGURATION
This Policy is not configurable except for the standard options.
NOTES
This Policy is a replacement for "ProhibitRequireStatements", which completely banned the use of "require" for the sake of eliminating the
old '*.pl' libraries from Perl4. Upon further consideration, I realized that "require" is quite useful and necessary to enable run-time
loading. Thus, "RequireBarewordIncludes" does allow you to use "require", but still encourages you to write '*.pm' modules.
Sometimes, you may want to load modules at run-time, but you don't know at design-time exactly which module you will need to load
(Perl::Critic is an example of this). In that case, just attach the '## no critic' annotation like so:
require $module_name; ## no critic
CREDITS
Chris Dolan <cdolan@cpan.org> was instrumental in identifying the correct motivation for and behavior of this Policy. Thanks Chris.
AUTHOR
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
COPYRIGHT
Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license
can be found in the LICENSE file included with this module.
perl v5.16.3 2014-06-09 Perl::Critic::Policy::Modules::RequireBarewordIncludes(3)