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
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
(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
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)
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