Apologies - the "tail" end. What I was interested in is the value of %ENV and @INC:
The error occurs because Audio/Beep.pm) is not found in any of the directories listed for @INC.
Looking at your sample, did the make install do anything?
I'm new to UNIX.....
I'm trying to test a software that requires Perl. I installed Perl 5.004_04 without any problem on a UNIX SCO OpenServer Machine.
The software I'm testing also requires some Perl Modules (Net::Telnet, Test::More, Net::Telnet::Cisco & Term::ReadKey).
I installed... (4 Replies)
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... (1 Reply)
Hi,
I am trying to install perl module DBD::mysql and don't know how to resolve the following:
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok 3/5install_driver(mysql) failed: Can't load... (3 Replies)
Hi All,
When I tried to install Math::Pari module in a AIX 5.3 server,I am getting the following error.
# pwd
/usr/local/bin
# cd Math-Pari-2.010709
# perl Makefile.PL
Did not find GP/PARI build directory around.
Do you want to me to fetch GP/PARI automatically?
(If you do not, you... (2 Replies)
Hi guys
i installed fedora 9 in my system.
i installed perl-devel rpm and perl-5.10.0 rpm.
But perlcc not in /usr/bin/ directory.But perl,perldoc binaris installed.
i am new one for linux. (3 Replies)
I have a very strange problem that I can't seem to solve.
I have apache module which filters content and within that module I will add some more content based on this calls:
int check;
check = system("/usr/bin/check");
check is a perl-script that exits with value 1 if the file doesn't... (2 Replies)
Hi All,
I am trying to run the following program
#!/usr/bin/perl
# use module
use XML::Simple;
use Data::Dumper;
# create object
$xml = new XML::Simple;
# read XML file
$data = $xml->XMLin("dump.xml");
# print output
print Dumper($dump);
At first i had the error mesage saying... (5 Replies)
HI,
I have XML file which is having values as Spanish character (UTF-8 encoding). I am using XML::parser module but my code is not able to read those characters. I did goggling but not able to find suitable solution. Anybody please help me out.
XML file having characters like: ñ
I am... (1 Reply)
Hi,
I want to install WWW:Mechanize module.
Followed the following steps:
1. wget http://www.cpan.org/authors/id/C/CO/CORION/Bundle-
WWW-Mechanize-Shell-0.29.tar.gz
perl Makefile.PL
make
make test
make install (Got the below message)
Appending installation info to... (1 Reply)
Hi 'm getting error while installing perl mdule on linux.can any one tell me how to resolve that error?
problem is:
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build J/JD/JDB/Win32-OLE-0.1709.tar.gz
OS unsupported
Warning: No success on command
Warning (usually harmless):... (1 Reply)
Discussion started by: kavi.mogu
1 Replies
LEARN ABOUT DEBIAN
pm_which
PM_WHICH(1p) User Contributed Perl Documentation PM_WHICH(1p)NAME
pm_which - find installed modules
SYNOPSIS
pm_which [ options ] module(s)
Returns the path to the given module(s)
OPTIONS
-q, --quiet Just print paths
-p, --paths Just convert the module name into a relative path
-a, --all Print all paths, not just the first one found
-n, --namespace Print all modules in the given namespace
-m Only print module names, not paths
-V Show module version
-I libpath Add a path to search (like perl -I)
-d, --dump Dump paths that would be searched (@INC by default)
-h, --help Print this message
-v, --version Print version information
- Read modules from stdin, one per line
DESCRIPTION
This tool reports the locations of installed perl modules.
By default it lists the location of each specified module that would be loaded by require.
OPTION DETAILS
quiet
Under quiet mode, module names are suppressed and missing modules are not reported.
Normal output:
$ pm_which Module::One Module::Two Missing::Module
Module::One - /path/to/Module/One.pm
Module::Two - /path/to/Module/Two.pm
Missing::Module - not found
Under --quiet:
$ pm_which -q Module::One Module::Two Missing::Module
/path/to/Module/One.pm
/path/to/Module/Two.pm
paths
In "paths" mode, each module is simply converted into a relative file path. This is possible even when the module is not installed.
$ pm_which -p Missing::Module
Missing/Module.pm
all
When the "all" switch is specified, all installed modules will be reported, not just the first one. This is useful for determining when
there is a module installed in multiple locations.
$ pm_which -a MyModule
/path/to/MyModule.pm
/home/me/perl/MyModule.pm
namespace
Arguments are taken as namespaces to search under.
$ pm_which -n MyModule
MyModule - /path/to/MyModule.pm
MyModule::Foo - /path/to/MyModule/Foo.pm
MyModule::Foo::Bar - /path/to/MyModule/Foo/Bar.pm
-m
Disables printing of module paths. This is only really useful in conjunction with --namespace.
$ pm_which -nm MyModule
MyModule
MyModule::Foo
MyModule::Foo::Bar
-V
Prints the version of each module, according to ExtUtils::MakeMaker.
$ pm_which -V MyModule
MyModule - /path/to/MyModule.pm [ 1.00 ]
$ pm_which -Vnm MyModule
MyModule [ 1.00 ]
MyModule::Foo [ 0.01 ]
MyModule::Foo::Bar [ undef ]
dump
Dumps the paths that would be searched and exits. This is @INC modified by any -I switches.
$ pm_which --dump
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.6
...
$ pm_which -I lib --dump -I blib/lib
lib
blib/lib
/usr/lib/perl5/site_perl/5.8.6
...
version
Prints the version number of the script, plus the version and path of Module::Util that was loaded.
EXIT CODES
o 0 - Everything was OK
o 1 - Initialisation failed (bad switches?)
o 2 - Some modules were not installed
SEE ALSO
This utility comes with Module::Util.
AUTHOR
Matt Lawrence <mattlaw@cpan.org>
perl v5.14.2 2012-06-08 PM_WHICH(1p)