Pass an NT IIS env variable to apache UNIX cgi ??

2002-12-11 Thread Kipp, James
hopefully i can explain this correctly: I have a cgi script that users from NT workstations will access. the script runs on IIS server, so I am able to grab the remote user name, like this: (my $user = lc($ENV{'REMOTE_USER'}) ) =~ s/.*?\\//; $user will match the users account name on a UNIX

RE: Handling =

2002-12-11 Thread Danny Miller
Are you using Get or Post? It looks like you're using Get...might I suggest Post. Therefore you could do it this way: my ($data1,$data2,$data3) = $buffer =~ /value1\=(.*)\value2\=(.*)\value3\=(.*)/; then throw $data1, $data2 and $data3 into an array or hash. This way, it won't care if the user

RE: including perl in html

2002-12-11 Thread Bob Showalter
(reply redirected to [EMAIL PROTECTED]) -Original Message- From: Adam Wilson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 11:30 AM To: [EMAIL PROTECTED] Subject: including perl in html Hi, can anyone help me, i want to include the ouput of a perl file within

RE: How to get the biggest integers from an array?

2002-12-11 Thread Beau E. Cox
I'm not sure I understand your whole question, but the easiest way to find the largest integers is to sort your array in reverse numeric order: my @array (5, 6, 7, 89, 1, 0, 456, 298023, 56); my @sorted = sort {$b = $a } @array; Now @sorted should contain: (298023, 456, 89, 56, 7, 6, 5, 1, 0)

Re: How to get the biggest integers from an array?

2002-12-11 Thread Paul Johnson
Mystik Gotan said: Careful with the crossposting. This has nothing to do with CGI, and I don't suppose my post will even get to the yahoo list. I'm in search for a solution. Let's say I have this array: @array (5, 6, 7, 89, 1, 0, 456, 298023, 56); Now, how can I get the biggest integers