home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!mcsun!chsun!bernina!neptune!weingart
- From: weingart@inf.ethz.ch (Tobias Weingartner)
- Subject: Re: explanation of the camel book code needed
- Message-ID: <1992Nov10.151514.27625@neptune.inf.ethz.ch>
- Followup-To: comp.lang.perl
- Keywords: sh csh perl ksh running with shells
- Sender: news@neptune.inf.ethz.ch (Mr News)
- Nntp-Posting-Host: tau.inf.ethz.ch
- Reply-To: weingart@inf.ethz.ch
- Organization: ETH - Switzerland
- References: <1992Nov5.123219.16031@unilabs.uucp> <nrp.721043320@reading>
- Date: Tue, 10 Nov 1992 15:15:14 GMT
- Lines: 35
-
- In article <nrp.721043320@reading>, nrp@csug3.cs.reading.ac.uk ("Scented fads" Neilski) writes:
- |>
- |> I don't have the camel book (a serious shortcoming, I know) but I assume
- |> that you're referring to something like the output produced by a2p and s2p:
- |>
- |> #!/gnu/bin/perl
- |> eval 'exec /gnu/bin/perl -S $0 ${1+"$@"}'
- |> if $running_under_some_shell;
- |>
- [stuff deleted]
-
- How about?
-
- #!/local/bin/perl
- eval 'exec /local/bin/perl -S $0 ${1+"$@"}'
- if undef;
-
- I have not tried this, but would it work?
-
-
- --
-
- ***************************************************************
- * Tobias Weingartner * Not every man is willing to die... *
- * c/o Bruno Opprecht * Some have to be PUSHED out the window *
- * Oberdierikoner st.7 * ------------------------------------- *
- * 6030 Ebikon Luzern * ...This space for rent... *
- * SWITZERLAND * ...This space for rent... *
- ***************************************************************
- * +41'041'33'25'40 * ..Midnight the fading, blue Wizrd.. *
- ***************************************************************
- SYSTEM-F-ANARCHISM, the operating system has been overthrown
-
- PGP2.0 Public Key available at 'finger weingart@tau.inf.ethz.ch'
-
-