home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!destroyer!gumby!wupost!usc!news!netlabs!lwall
- From: lwall@netlabs.com (Larry Wall)
- Newsgroups: comp.lang.perl
- Subject: Re: how to get passwd
- Message-ID: <1992Sep3.184343.12651@netlabs.com>
- Date: 3 Sep 92 18:43:43 GMT
- References: <23093@hacgate.SCG.HAC.COM> <ASHERMAN.92Sep2110720@laser.fmrco.com>
- Sender: news@netlabs.com
- Distribution: usa
- Organization: NetLabs, Inc.
- Lines: 6
- Nntp-Posting-Host: scalpel.netlabs.com
-
- How many times a month are you going to be doing this? 1928347 times?
- 100 times? 3 times? How 'bout:
-
- $uid = (split(/:/, `tail -1 /etc/passwd`))[2];
-
- Yes, you've got a Swiss Army Chainsaw. It's not required, even in the
- Swiss Army, that you open your marmelade with it.
-
- Larry
-