Re: Help me out!!!

From: Gary Stainburn (gary.stainburn_at_ringways.co.uk)
Date: 03/04/04


To: "Urvashi Mishra" <urvashim@india.hp.com>, <beginners@perl.org>
Date: Thu, 4 Mar 2004 13:56:30 +0000

On Thursday 04 March 2004 1:17 pm, Urvashi Mishra wrote:
> hi !
>
> i am trying to implement multidimentional tree... and saw that a package
> called Tree::Nary already exits...
>
> i am use the above module and i am getting the following error ...
> Can't locate Tree/Nary.pm in@INC < @INC contains: C:\perl\site\lib.>
> i have saved this module in this dir but its not working....
> if someone can help me??????????

Hi,

What do you mean when you've 'saved the module in this dir'?

If you mean that you've simply downloaded the .tgz and unzipped it into the
current directory, then perl won't see it.

You may get away with adding

use lib './';
before the use Tree:Nary to tell Perl where to look, but you'd be better off
installing the module properly. (Assuming you're on some form of unix), as
root run the command

perl -MCPAN -e 'install Tree::Nary'

This will download and install the module for you and make it available to
everyone.

Note that if it is the first time you've run CPAN, you will be asked to
configure it. Simply choose the most logical answers, and if you're not sure
of a question, simlpy take the default.

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


Relevant Pages

  • Re: New to FC
    ... When you download a application, where is the "right" folder to ... Your use of the term 'folder' suggests you are also new to *nix. ... these will be 'rpms' for use by your package manager. ... speaking, if you are installing tarballs, these can be _built_ anywhere ...
    (alt.os.linux.redhat)
  • Re: error when installing ... cannot find odbcbcp.dll....
    ... The direct download link is here for MDAC2.8 for windows XP: ... following messege "The support does not support installing on this operating ... That's a pretty much ubiquitous file, from a package called MDAC ... Digital Media MVP: 2004-2006 ...
    (microsoft.public.windowsmedia)
  • gzip with AIX 4.3
    ... Newbie question - I am installing AIX 4.3 onto a 7025-F30. ... Maintenace Package two different ways. ... download site for unzipping the file, I get an error message that is ...
    (comp.unix.aix)
  • Re: Installing DBI
    ... Perl is working great. ... had no problem installing PERL on my own windows laptop. ... I would double check your download, your copy, and your gunzip before ...
    (perl.beginners)
  • Re: Open Office - installation problem
    ... > It's not a package, ... I have done installing OOo from tarball on Linux many ... OpenOffice.org 1.1.1 RC3 for FreeBSD 5.2.1-RELEASE ... Please download your favorite language version. ...
    (freebsd-questions)