Professional Web Applications Themes

how to change values of INC - PERL Beginners

Bernd Mueller <ac.jp> asked:  You could use the "use lib" pragma, like use lib qw(/path/to/my/modules); HTH, Thomas...

  1. #1

    Default RE: how to change values of INC


    Bernd Mueller <ac.jp> asked: 

    You could use the "use lib" pragma, like

    use lib qw(/path/to/my/modules);

    HTH,
    Thomas
    Thomas Guest

  2. #2

    Default RE: how to change values of INC


    you can add new search path using
    use lib 'path List';

    for delete

    no lib 'path list';


    Raymond

    -----Original Message-----
    From: Bernd Mueller [mailto:ac.jp]
    Sent: Wednesday, September 22, 2004 8:04 PM
    To: org
    Subject: how to change values of INC



    Hello,

    I am trying to run a perl script under apache2 and the error_log tells me
    something about:
    "Can't locate SiteDefs.pm in INC (INC contains:
    /usr/local/lib/perl5/5.8.5/x86_64-linux etc ...) at
    /usr/local/ensembl/perl/multi/unisearch line24., referer: http://localhost/
    ....
    BEGIN failed--compilation aborted at ..."

    Would someone be so nice to explain me how i change the values in INC,
    because i know where to find this SiteDefs.pm.

    Best Regards,
    Bernd

    --
    To unsubscribe, e-mail: org
    For additional commands, e-mail: org
    <http://learn.perl.org/> <http://learn.perl.org/first-response>


    Raymond Guest

  3. #3

    Default Re: how to change values of INC



    Bernd Mueller wrote: 

    Hello,
     

    use lib '/dir/you/want';

    HTH :)

    Lee.M - JupiterHost.Net
    JupiterHost.Net Guest

  4. #4

    Default how to change values of INC


    Hello,

    I am trying to run a perl script under apache2 and the error_log tells me
    something about:
    "Can't locate SiteDefs.pm in INC (INC contains:
    /usr/local/lib/perl5/5.8.5/x86_64-linux etc ...) at
    /usr/local/ensembl/perl/multi/unisearch line24., referer: http://localhost/
    ....
    BEGIN failed--compilation aborted at ..."

    Would someone be so nice to explain me how i change the values in INC,
    because i know where to find this SiteDefs.pm.

    Best Regards,
    Bernd
    Bernd Guest

  5. #5

    Default Re: how to change values of INC

    Bernd Mueller wrote:
     

    perldoc lib
    perldoc FindBin
    Johannes Guest

Similar Threads

  1. newbie: change values via button
    By wilco_nl in forum Coldfusion Flash Integration
    Replies: 2
    Last Post: April 13th, 08:39 PM
  2. Colour Values change
    By Tim_Malone@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 10
    Last Post: August 3rd, 08:33 AM
  3. Image change according to slider values?
    By cfinn in forum Macromedia Director Basics
    Replies: 1
    Last Post: April 24th, 08:05 PM
  4. Values in array may change
    By Niek in forum PERL Beginners
    Replies: 3
    Last Post: April 22nd, 11:34 AM
  5. Change database values
    By TresWBL in forum PHP Development
    Replies: 2
    Last Post: October 30th, 02:17 AM

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