in reply to Opening file and printing specific data
Check the POD for getpwnam for the list of return values...print ((getpwnam "username")[0,2]); #$ENV{USER} for example
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Opening file and printing specific data
by Anonymous Monk on Jun 07, 2002 at 14:32 UTC |