ascertain current username

2002-08-16 Thread Stefan.Haberer
Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. greetings Stefan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: ascertain current username

2002-08-16 Thread Timothy Johnson
If you're on a Win32 system, you can use the standard Win32 module. perldoc Win32 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, August 16, 2002 10:13 AM To: [EMAIL PROTECTED] Subject: ascertain current username Hello, does anybody know

Re: ascertain current username

2002-08-16 Thread Rus Foster
On Fri, 16 Aug 2002 [EMAIL PROTECTED] wrote: Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. Have you tired parsing the output from the commands id -h and id -u? Rgds Rus --

Re: ascertain current username

2002-08-16 Thread Rus Foster
On Fri, 16 Aug 2002 [EMAIL PROTECTED] wrote: Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. greetings Stefan Or following up on my own post (which is bad) just found out you could just

RE: ascertain current username

2002-08-16 Thread Egleton, Gary
current username On Fri, 16 Aug 2002 [EMAIL PROTECTED] wrote: Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. Have you tired parsing the output from the commands id -h and id -u? Rgds Rus -- http

Re: ascertain current username

2002-08-16 Thread John W. Krahn
Stefan Haberer wrote: Hello, Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. my $username = getpwuid $; perldoc perlvar perldoc -f getpwuid John -- use Perl; program fulfillment -- To

Re: ascertain current username

2002-08-16 Thread Jeff 'japhy' Pinyan
On Aug 16, Rus Foster said: On Fri, 16 Aug 2002 [EMAIL PROTECTED] wrote: Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? I thougt of using a module but couldn't find one. Have you tired parsing the output from the commands id -h and id -u?

Re: ascertain current username

2002-08-16 Thread drieux
On Friday, August 16, 2002, at 01:22 , Rus Foster wrote: On Fri, 16 Aug 2002 [EMAIL PROTECTED] wrote: Hello, does anybody know a possibility how to ascertain the current User (User Id, Username) ? [..] use English; print $UID; print $GID; perldoc perlvar will lead you to the other

Re: ascertain current username

2002-08-16 Thread George Schlossnagle
drieux wrote: I have my nagging doubts about use English; when coding in perl... What are your nagging doubts in particular? I find use English variable names to be far less magical and far more intuitive than the hsort versions. I realize that goes against the whole line-noise

idiomatics v. Use English - was Re: ascertain current username

2002-08-16 Thread drieux
On Friday, August 16, 2002, at 08:01 , George Schlossnagle wrote: drieux wrote: I have my nagging doubts about use English; when coding in perl... What are your nagging doubts in particular? [..] p0: besides the fact that it just is a fun gag to pull step back, read it