I am trying to find the median time in perl. I am getting all my data from a database. Now, there is a table name Defect that has a column name priority. In priority, I have 0-critical, 1-high and so on. I am trying to get the median time for each of these . Please see below. When I run the entire program, it basically give me the count of the tickets instead of the median time. Please see below.

Re: [YAYABRUCE] Trying to find the Median Time Please help
[In reply to]

Can't Post

I don't know the answer, and I doubt its even perl, its your SQL commands, but what I find odd is why you posted this question in the regular expressions forum. -------------------------------------------------