From owner-freebsd-questions Mon Jan 21 19:46: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 22C2937B400 for ; Mon, 21 Jan 2002 19:46:01 -0800 (PST) Received: from SAGEONE (adsl-64-219-30-193.dsl.crchtx.swbell.net [64.219.30.193]) by sage-american.com (8.9.3/8.9.3) with SMTP id VAA23416; Mon, 21 Jan 2002 21:45:57 -0600 (CST) Message-Id: <3.0.5.32.20020121214555.01831ca0@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 21 Jan 2002 21:45:55 -0600 To: Chris Fedde From: jacks@sage-american.com Subject: Re: Perl5 Script Debug Help Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <200201220339.g0M3du821086@fedde.littleton.co.us> References: <3.0.5.32.20020121212823.01831ca0@mail.sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG WoW! That's ALL it TOOK! It works for me too now.... thanks, Chris! At 08:39 PM 1.21.2002 -0700, Chris Fedde wrote: >On Mon, 21 Jan 2002 21:28:23 -0600 jacks@sage-american.com wrote: > +------------------ > | I have a script that under BSDi does a neat summary of users. I wonder if > | anyone will take a look to see how this script may be adapted to run on > | FBSD 4.4-stable. It doesn't get very far & dies at line 4 for starters, > | which is: > | my($pwdfile) = (getpwuid($>))[7] . '/etc/passwd'; > +------------------ > >After changing the line above to > > my($pwdfile) = '/etc/passwd'; > >the script wored fine for me. >What error message is being generated? > >-- > Chris Fedde > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message