develooper Front page | perl.par | Postings from September 2008

pp @INC question

Thread Next
Evan Harrell
September 30, 2008 17:20
pp @INC question
Message ID:
Hi all,
For some reason when I use pp to package my software, my @INC array is not
correct. The error I get when I try to run the resulting executable is:

Can't locate Tie/Hash/ in @INC (@INC contains:
CODE(0xeff9c0) CODE(0xef63e8)) at line 148.
BEGIN failed--compilation aborted at line 148.
Compilation failed in require at script/ line 4.
BEGIN failed--compilation aborted at script/ line 4.

but the first line in my main source file tells exactly where the modules I
am trying to use are:

#!/usr/bin/perl -w -I/home/valdar/perl/include/
# TODO: replace window.radius with peak.separation everywhere!!!
use strict;
use English;
use Assert;
use StdDefs;
use CConfigFile;
use CDataFrame;
use Debug;
use Data::Dumper;
use File::Copy;
use File::Path;
use FileIoHelper qw(OpenFilesForReading OpenFilesForWriting FileNotEmpty
FileEmptyOrAbsent FileExists GetFileBasename GetFileSuffix);
use Getopt::Long;

Why can't packager find these modules? Why is it looking in the tmp
directory shown in the error message? Also, when I run scandeps on this same
program, it tells me there is no dependency, which is definitely not
correct. Can anyone help?



Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About