Re: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread $Bill Luebkert
Troy wrote: > It wasn't an Apache variable from what I recall. > > I believe it was one that the browser uses to maintain authentication > when moving around within protected areas. Well, Apache (or whatever webserver) is the one that passes those vrbls on to the ENV (not the browser). Howeve

RE: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread Troy
It wasn't an Apache variable from what I recall. I believe it was one that the browser uses to maintain authentication when moving around within protected areas. I could be wrong. Troy > -Original Message- > From: $Bill Luebkert [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 0

Re: [Perl-unix-users] date/time

2002-02-06 Thread $Bill Luebkert
Chris Nikou wrote: > how can i retrieve current time & date in order to store them into 2 > variables ($date,$time) > > and then store them into a file? Change the format to what you want: use strict; use POSIX; my $date = strftime ("%d-%b-%Y", localtime);# 06-Feb-2002 my $time = strft

Re: [Perl-unix-users] date/time

2002-02-06 Thread Jason Purdy
Check out the localtime function... perldoc -f localtime You can take the resulting list of date/time elements & create $date and $time. Jason If memory serves me right, on Wednesday 06 February 2002 17:04, Chris Nikou wrote: > how can i retrieve current time & date in order to store them in

[Perl-unix-users] date/time

2002-02-06 Thread Chris Nikou
how can i retrieve current time & date in order to store them into 2 variables ($date,$time) and then store them into a file?Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings!

Re: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread $Bill Luebkert
Troy wrote: > I remember someone posted a bit of code that read one of the ENV vars to > grab the current user logged into a .htaccess protected area. > > Does anyone have that code or remember what it was? On APache, there are only two vrbls normally set in addition the ones: AUTH_TYPE = ba

[Perl-unix-users] multi-tasking?

2002-02-06 Thread Chris Nikou
to be more specific this is what i i'm trying to do.$number = 0;- we have a job number variablei want to have 3 "child" processes where each one will pause for 5 seconds. "sleep (5)" and increase the $number++;generate a random number ($weight) from 48-62 using the "RAND" command. an

RE: [Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread Troy
Let me add something to this question. I am not referring to $ENV{'REMOTE_USER'}; It was code using something like $ENV{HTTP_AUTHENTICATED}. I don't recall exactly what it was but I think it was something like that. Troy > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL

[Perl-unix-users] %ENV key to determine authenticated user

2002-02-06 Thread Troy
I remember someone posted a bit of code that read one of the ENV vars to grab the current user logged into a .htaccess protected area. Does anyone have that code or remember what it was? Troy ___ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsu