tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* getpwuid perl function
@ 1997-07-11 13:46 Ellen Davis
  0 siblings, 0 replies; only message in thread
From: Ellen Davis @ 1997-07-11 13:46 UTC (permalink / raw)
  To: tru64-unix-managers



I'm stumped.  Can anyone tell me why this piece of perl code does not set
any variables except OZlogin?

*************code ********************
#!/usr/local/bin/perl

($OZlogin,$pass,$uid,$OZgid,$quota,$comment,$gcos,$OZdir,$shell) =
getpwuid( $<)
 || die "Who are you?\n";

print "OZlogin=", $OZlogin, " OZdir=", $OZdir , " OZgid=", $OZgid, "\n";
************************************************************************

Here is the output when runnin on my system (AlphaServer 1000A running
DU4.0B and Perl 5.003):

OZlogin=daviser OZdir= OZgid=



 Ellen Davis
 Ellen.Davis@uc.edu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-11 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-11 13:46 getpwuid perl function Ellen Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox