home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!rutgers!ub!dsinc!pitt.edu!djbpitt
- From: djbpitt+@pitt.edu (David J Birnbaum)
- Newsgroups: comp.lang.perl
- Subject: Re: aub problem finding sys/socket.ph
- Message-ID: <5639@blue.cis.pitt.edu.UUCP>
- Date: 9 Sep 92 13:02:48 GMT
- References: <5601@blue.cis.pitt.edu.UUCP> <1992Sep9.043504.7463@odin.corp.sgi.com> <1992Sep9.060810.6205@cs.ubc.ca>
- Sender: news+@pitt.edu
- Organization: University of Pittsburgh
- Lines: 27
-
- In article <1992Sep9.060810.6205@cs.ubc.ca> dhami@cs.ubc.ca
- (Mandeep S Dhami) writes:
-
- >> Running with '#!/usr/local/bin/perl -I <X>' doesn't help.
- >
- >#! notation allows only ONE argument (for example you may use
- >-pi.bak but not -p -i.bak). This is the semantics of #! invocation
- >(at least on my system, SunOS) and has nothing to do with perl.
-
- I have been told that my system (Ultrix 4.2) has a problem reading
- long #! lines, which I circumvent by preceding the first two lines
- of the script with:
-
- eval 'exec perl -S $0 ${1+"$@"}'
- if 0;
-
- I have also tried running aub without these lines, but by calling it as
- 'perl aub', i.e., getting to perl without relying on the #! line at all.
- The sys/socket.ph file is still unresponsive.
-
- --David
-
- --
- Professor David J. Birnbaum djbpitt+@pitt.edu [Internet]
- The Royal York Apartments, #802 djbpitt@pittvms [Bitnet]
- 3955 Bigelow Boulevard voice: 1-412-687-4653
- Pittsburgh, PA 15123 USA fax: 1-412-624-9714
-