Loading ...
Sorry, an error occurred while loading the content.

Re: Adding more locations to INC in startup.pl

Expand Messages
  • JupiterHost.Net
    ... Sure but if you use lib twice all you need are single quotes instead of qw(): use lib /home/blah/ ; use lib /usr/local/ ; 1; but even better: use lib
    Message 1 of 3 , Jul 23, 2004
    • 0 Attachment
      David Arnold wrote:
      > All,
      >
      > Is this OK?
      >
      > # File: startup.pl
      >
      > use lib qw(/home/darnold/modperl/);
      > use lib qw(/usr/local/apache/module/);

      Sure but if you "use lib" twice all you need are single quotes instead
      of qw():

      use lib '/home/blah/';
      use lib '/usr/local/';

      1;

      but even better:

      use lib qw(/home/blah /usr/local);

      1;


      HTH

      Lee.M - JupiterHost.Net

      --
      Report problems: http://perl.apache.org/bugs/
      Mail list info: http://perl.apache.org/maillist/modperl.html
      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
    Your message has been successfully submitted and would be delivered to recipients shortly.