06-11-2010
Install module-init-tools
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I was trying to migrate a DB into an Ultra 5 and it was easy for me to buy a new 80GB ide disk but OS (Solaris 2.6) does not recognize the disk. OS belives that it is a 8GB disk, my point of view is to try to update the OBP to a newer version. (3.25.3 is the current one )
Does anyone knows if... (3 Replies)
Discussion started by: alex blanco
3 Replies
2. Ubuntu
I'm pretty new to *nix systems and been using Ubuntu and Debian for a while but think it's pretty much 'overkill' lauching any of these systems. I've always been in need of a simple system, with a simple X where I can get the necessary programs myself. Yesterday I read about Arch (and it got me).... (1 Reply)
Discussion started by: riwa
1 Replies
3. UNIX for Dummies Questions & Answers
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
6 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to find this string 'preparing string IBE_Quote_W1_Pvt.SaveWrapper for quote_header_id’ in my Apache log file directory. The log file that contains this string may be in a parent direcotry or a sub-directory. I have tried 'grep' and 'awk' with no success.
I would like to get the path... (3 Replies)
Discussion started by: gross
3 Replies
5. Linux
Currently in a fresh install of arch linux and I have been trying to install some stuff with pacman. Every operation returns multiple errors such as no address record when using -Sy and unable to retrieve file when trying to install something. I have tried so many different configurations of... (5 Replies)
Discussion started by: a sandwhich
5 Replies
6. Shell Programming and Scripting
I only want to find files under each branch of the directory tree inside directories named XYZ and there are multiple XYZ directories? (7 Replies)
Discussion started by: emc^24sho
7 Replies
7. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
LEARN ABOUT DEBIAN
file::sharedir::install
File::ShareDir::Install(3pm) User Contributed Perl Documentation File::ShareDir::Install(3pm)
NAME
File::ShareDir::Install - Install shared files
SYNOPSIS
use ExtUtils::MakeMaker;
use File::ShareDir::Install;
install_share 'share';
install_share dist => 'dist-share';
install_share module => 'My::Module' => 'other-share';
WriteMakefile( ... ); # As you normaly would
package MY;
use File::ShareDir::Install qw(postamble);
DESCRIPTION
File::ShareDir::Install allows you to install read-only data files from a distribution. It is a companion module to File::ShareDir, which
allows you to locate these files after installation.
It is a port Module::Install::Share to ExtUtils::MakeMaker with the improvement of only installing the files you want; ".svn" and other
source-control junk will be ignored.
EXPORT
install_share
install_share $dir;
install_share dist => $dir;
install_share module => $module, $dir;
Causes all the files in $dir and its sub-directories. to be installed into a per-dist or per-module share directory. Must be called
before WriteMakefile.
The first 2 forms are equivalent.
The files will be installed when you run "make install".
To locate the files after installation so they can be used inside your module, see File::ShareDir.
my $dir = File::ShareDir::module_dir( $module );
Note that if you make multiple calls to "install_share" on different directories that contain the same filenames, the last of these calls
takes precedence. In other words, if you do:
install_share 'share1';
install_share 'share2';
And both "share1" and "share2" contain a fill called "info", the file "share2/info" will be installed into your "dist_dir()".
postamble
Exported into the MY package. Only documented here if you need to write your own postable.
package MY;
use File::ShareDir::Install;
sub postamble {
my $self = shift;
my @ret = File::ShareDir::Install::postamble( $self );
# ... add more things to @ret;
return join "
", @ret;
}
SEE ALSO
File::ShareDir, Module::Install.
AUTHOR
Philip Gwyn, <gwyn-AT-cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009-2011 by Philip Gwyn
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.4 2011-08-26 File::ShareDir::Install(3pm)