home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!panther!mothost!merlin.dev.cdx.mot.com!fendahl.dev.cdx.mot.com!mcook
- From: mcook@fendahl.dev.cdx.mot.com (Michael Cook)
- Subject: Re: Executing required files
- Message-ID: <mcook.721447621@fendahl.dev.cdx.mot.com>
- Sender: news@merlin.dev.cdx.mot.com (USENET News System)
- Nntp-Posting-Host: fendahl.dev.cdx.mot.com
- Organization: Motorola Codex, Canton, Massachusetts
- References: <JGD.92Oct21135439@kodiak.acl.lanl.gov> <1992Nov05.052448.29379@spillman.uucp> <1992Nov5.062131.17033@reed.edu> <JGD.92Nov10153029@kodiak.acl.lanl.gov>
- Distribution: comp.lang.perl
- Date: Wed, 11 Nov 1992 02:07:01 GMT
- Lines: 9
-
- jgd@acl.lanl.gov (Jerry G. DeLapp) writes:
-
- >I still like the idea of __REQUIRED__ to armor plate me from idiots setting $0
- >though. Any chance of this appearing in 5.0?
-
- What's wrong with setting $0? At the risk of declaring myself an idiot, I do
- this pretty-much as a matter of course: $0 =~ s%^.*/%%;
-
- Michael.
-