Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

question on @INC
i recently tried to run a module PGPLOT.pm within the PDL package.
at the PDL command line i typed "use  PGPLOT"
i get the following error message:
Can't locate PGPLOT.pm in @INC (@INC contains:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6 /Library/Perl
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at (eval 44) line
4, <STDIN> line 1.
BEGIN failed--compilation aborted at (eval 44) line 4, <STDIN> line 1.

however when there is a PGPLOT.pm module in
/Library/Perl/5.8.6/darwin-thread-multi-2level/PDL/Graphics/ and also in
/Users/anjan/.cpan/build/PDL-2.4.3/Graphics/PGPLOT/

Does this mean that I will have to add extra paths to the @INC variable?

Appreciate your help,
Anjan

--
ANJAN PURKAYASTHA, PhD.
Senior Computational Biologist
==========================

1101 King Street, Suite 310,
Alexandria, VA 22314.
703.518.8040 (office)
703.740.6939 (mobile)

email:
anjan@vbi.vt.edu;
anjan.purkayastha@gmail.com

http://www.vbi.vt.edu

==========================


Report this thread to moderator Post Follow-up to this message
Old Post
Anjan Purkayastha
01-16-08 12:02 AM


Re: question on @INC
How did you install the module?
Try adding this line before the use PGPLOT:
use lib '/Library/Perl/5.8.6/darwin-thread-multi-2level/PDL/Graphics/';

Report this thread to moderator Post Follow-up to this message
Old Post
Yitzle
01-16-08 12:02 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:00 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.