It would help if you gave just a simple example but, I think you want somnething like
this:
if ( $q->param( 'something' ) {
print qq`
$your_value
`;
}
course' that's using CGI.pm
-Original Message-
From: "Bob Showalter"<[EM
(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
> fi
Try making a numberLposition hashas you iterate through the array, add each number as
a key and the position in the array as the value. Then use sort($keys(%hash)) to
order them. I'm a newbie, also, so I'm not sure if sort has an optional parameter for
order, though. You'll have to explore th
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 intege
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)
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 use
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 server.