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 ba
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
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
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" a
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
--
ECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: ascertain 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 parsin
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
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://www.
hi,
use system('users') on unix systems to get the name of all users currently logged on
that machine. u can also use system('whoami') to know from whose login the script is
being executed (i.e. u urself).
-
Get a bigger mailbox -- choose a size that fits
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 k
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]
11 matches
Mail list logo