Date: Mon, 21 Jan 2002 20:39:56 -0700 From: Chris Fedde <chris@fedde.littleton.co.us> To: jacks@sage-american.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Perl5 Script Debug Help Message-ID: <200201220339.g0M3du821086@fedde.littleton.co.us> In-Reply-To: <3.0.5.32.20020121212823.01831ca0@mail.sage-american.com>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201220339.g0M3du821086>
