Article View: comp.sys.next.sysadmin
Article #761Re: Vendors Considered Evil (Re: Perl use over NFS)
From: John Kochmar
Date: Fri, 28 Aug 1992 18:39
Date: Fri, 28 Aug 1992 18:39
44 lines
2745 bytes
2745 bytes
In article <1992Aug28.180137.22861@ra.msstate.edu>, fwp@CC.MsState.Edu (Frank Peters) writes: |> In article <1992Aug28.155801.14501@sei.cmu.edu> kochmar@sei.cmu.edu (John Kochmar) says: |> : |> : OK, I'll bite: why is it that it is much easier if perl is in an agreed |> : upon place like /usr/bin? |> |> Because perl is a scripting language. That means it wants to have a #! |> line at the beginning with the path name to an executable. Distributing |> code in this situation can be an annoyance unless you can arrange to |> have the path to perl be the same on different systems. You've gotta be kidding, right? You're not advocating that perl be placed in /usr/bin so that scripts you pick up from who-knows-where will run without modification, right? I got the same response from someone else in private mail. Since I don't make a habit of picking up a script and running it without checking it over, I don't see changing the #! at the beginning to be that big a deal. |> : We use /usr/local for all tools that aren't part of the standard |> : distribution that the vendor sends us, and I've made all sorts of |> : software work cleanly while living in /usr/local (and, in almost all |> : cases, without the use of symbolic links in /usr/bin.) This model |> : works really well for us, and most tools will work with this model |> : if the programmers weren't of the lazy sort who like to hardwire |> : paths into the binary. |> |> But scripts have a path hardwired into them almost by definition. True, but the good ones are easily modifiable. Not that I'm all that paranoid about stuff I pick up off the net being malicious, but I do look over the stuff I pick up, and I expect to have to make some site specific modifications. #!/mumble/perl if one of those modifications. John ----------------------------------------------------------------------------- John Kochmar | Estimated amount of glucose used by an adult human kochmar@sei.cmu.edu | brain each day, expressed in M&Ms: 250 SEI Computing Facilities | -Harper's Index, October 1989
Technical Details
Message-ID:
<1992Aug28.183918.22664@sei.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!kochmarReferences:
<1992Aug27.180847.15448@kakwa.ucs.ualberta.ca> <1992Aug28.145234.17625@news.eng.convex.com> <1992Aug28.155801.14501@sei.cmu.edu> <1992Aug28.180137.22861@ra.msstate.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin,comp.unix.admin Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!kochmar From: kochmar@sei.cmu.edu (John Kochmar) Subject: Re: Vendors Considered Evil (Re: Perl use over NFS) Message-ID: <1992Aug28.183918.22664@sei.cmu.edu> Sender: netnews@sei.cmu.edu (Netnews) Organization: The Software Engineering Institute References: <1992Aug27.180847.15448@kakwa.ucs.ualberta.ca> <1992Aug28.145234.17625@news.eng.convex.com> <1992Aug28.155801.14501@sei.cmu.edu> <1992Aug28.180137.22861@ra.msstate.edu> Date: Fri, 28 Aug 1992 18:39:18 GMT Lines: 44