belg4mit has asked for the wisdom of the Perl Monks concerning the following question:
(getpwuid($<))[3]
Only returns the first. Ideally it should be useable as:
$) = expression
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Fetching groups a user is in
by Kanji (Parson) on Oct 11, 2001 at 19:52 UTC | |
by belg4mit (Prior) on Oct 11, 2001 at 20:15 UTC | |
by belg4mit (Prior) on Oct 11, 2001 at 20:02 UTC | |
by belg4mit (Prior) on Oct 11, 2001 at 20:11 UTC | |
|
Re: Fetching groups a user is in
by jlongino (Parson) on Oct 11, 2001 at 21:07 UTC | |
|
Re: Fetching groups a user is in
by apotheon (Deacon) on Dec 21, 2006 at 22:05 UTC | |
by druud (Sexton) on Dec 22, 2006 at 00:06 UTC | |
by apotheon (Deacon) on Dec 22, 2006 at 03:37 UTC | |
by druud (Sexton) on Dec 22, 2006 at 15:22 UTC | |
by apotheon (Deacon) on Dec 23, 2006 at 07:55 UTC |