home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / perl / 5783 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!dhami
  3. From: dhami@cs.ubc.ca (Mandeep S Dhami)
  4. Subject: Re: aub problem finding sys/socket.ph
  5. Message-ID: <1992Sep9.060810.6205@cs.ubc.ca>
  6. Sender: usenet@cs.ubc.ca (Usenet News)
  7. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  8. References: <5585@blue.cis.pitt.edu.UUCP> <1992Sep8.174434.17198@news.eng.convex.com> <5601@blue.cis.pitt.edu.UUCP> <1992Sep9.043504.7463@odin.corp.sgi.com>
  9. Date: Wed, 9 Sep 92 06:08:10 GMT
  10. Lines: 21
  11.  
  12. stantz@sgi.com (Mark Stantz) writes:
  13.  
  14. >
  15. >             Running with '#!/usr/local/bin/perl -I <X>' doesn't help.
  16. >
  17.  
  18. #! notation allows only ONE argument (for example you may use
  19. -pi.bak but not -p -i.bak). This is the semantics of #! invocation
  20. (at least on my system, SunOS) and has nothing to do with perl.
  21. So, you may use -I<X> not -I <X>.
  22.  
  23. BTW, You may also use:
  24.   push(@INC,'<X>') ;   # prefer default INC OR
  25.   unshift(@INC,'<X>'); # prefer files in X
  26.  
  27. Mandeep
  28. __________________________________________________________________
  29. "I'm very brave generally," he went on in a low voice:
  30. "only to-day I happen to have a headache."
  31.                                       -- Lewis Carroll
  32. __________________________________________________________________
  33.