Professional Web Applications Themes

Help me out!!! - PERL Beginners

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 inINC < INC contains: C:\perl\site\lib.> i have saved this module in this dir but its not working.... if someone can help me??????????...

  1. #1

    Default Help me out!!!

    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 inINC < INC contains: C:\perl\site\lib.>
    i have saved this module in this dir but its not working....
    if someone can help me??????????


    Urvashi Guest

  2. #2

    Default Re: Help me out!!!

    On Thursday 04 March 2004 1:17 pm, Urvashi Mishra wrote: 

    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

    Gary Guest

  3. #3

    Default Re: Help me out!!!

    Urvashi Mishra wrote: 

    See: perldoc perlmodinst

    http://www.perldoc.com/perl5.8.0/pod/perlmodinst.html

    --
    ZSDC


    Zsdc Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139