Code Comments
Programming Forum and web based access to our favorite programming groups.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 ==========================
Post Follow-up to this messageHow 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/';
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.