home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / next / sysadmin / 4941 < prev    next >
Encoding:
Text File  |  1992-08-30  |  2.3 KB  |  52 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!cs.utexas.edu!usc!rpi!usenet
  3. From: gad@eclipse.its.rpi.edu (Garance A. Drosehn)
  4. Subject: Re: Vendors Considered Evil (Re: Perl use over NFS)
  5. Message-ID: <2ttyzz=@rpi.edu>
  6. Nntp-Posting-Host: eclipse.its.rpi.edu
  7. References: <1992Aug28.183918.22664@sei.cmu.edu>
  8. Date: Mon, 31 Aug 1992 03:18:51 GMT
  9. Lines: 41
  10.  
  11. kochmar@sei.cmu.edu (John Kochmar) writes:
  12. > fwp@CC.MsState.Edu (Frank Peters) writes:
  13. > |> kochmar@sei.cmu.edu (John Kochmar) says:
  14. > |> : 
  15. > |> : OK, I'll bite: why is it that it is much easier if perl is in an
  16. > |> : agreed upon place like /usr/bin?
  17. > |> 
  18. > |> Because perl is a scripting language.  That means it wants to have
  19. > |> a #! line at the beginning with the path name to an executable.
  20. > |> Distributing code in this situation can be an annoyance unless you
  21. > |> can arrange to have the path to perl be the same on different systems.
  22. > You've gotta be kidding, right?  You're not advocating that perl be
  23. > placed in /usr/bin so that scripts you pick up from who-knows-where
  24. > will run without modification, right?
  25. >
  26. > I got the same response from someone else in private mail.  Since I
  27. > don't make a habit of picking up a script and running it without
  28. > checking it over, I don't see changing the #! at the beginning to
  29. > be that big a deal.
  30.  
  31. That's fine if:
  32.   1) You're the only person who uses your machine.
  33.   2) You write scripts which you intend to run on only one machine.
  34.  
  35. In my case, neither of these are true.  I have about a dozen or so people  
  36. who use eclipse, and I personally log into about 6 or 7 different platforms  
  37. (that's different architectures, mind you, we have a few hundred different  
  38. *machines* I could be logging into).
  39.  
  40. If I write a cool script that runs on my NeXT, I certainly don't want to  
  41. edit it to run on a Sun, an HP, an RS6000, or (gasp) aix370 just because  
  42. each platform has it's own favorite place to stuff scripting-languages like  
  43. perl.  I have enough headaches without trying to keep synchronized 6 copies  
  44. of every script I feel like writing, with the only difference being where  
  45. the silly interpretter lives.
  46.  
  47. --
  48. Garance Alistair Drosehn     =     gad@eclipse.its.rpi.edu
  49. ITS Systems Programmer            (handles NeXT-type mail)
  50. Rensselaer Polytechnic Institute;           Troy NY    USA
  51.