Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.lang.perl Subject: Re: adding arguments to @INC Message-ID: <1990Jul12.064743.16505@iwarp.intel.com> Date: 12 Jul 90 06:47:43 GMT References: Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Distribution: comp.lang.perl Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 21 In-Reply-To: m1dib00@fed.frb.gov (Douglas I. Battenberg) In article , m1dib00@fed (Douglas I. Battenberg) writes: | What am I missing here? You are missing the not-well-documented fact that only a "small number" of characters (typically 32... I've never seen different) can be passed in a "#!..." startup line. See your local execve(2) manpage for details. What I do is: #!/local/usr/bin/perl push(@INC,"/local/merlyn/lib/perl"); if I want to invoke my own routines. Works wonders. print "Just another Perl hacker, working on The Book instead of signatures," -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/