i am expecting at the top of my code i posted $comp2 to equal $comp1 three times. Every time in matches it will pull three lines of text through from three hashes. These are split and put into an array with 15 elements in. The three times this should happen the array that is created with 15...
cheers for that racklet. just one slight hitch is that the value of @$val1 is always the same at the end - i was expecting muliple sorted values
..
..
$inorder[13]=$fields2[5];
$inorder[14]=$fields3[5];
$sorted[$increment] = \@inorder;
$increment++;
}
@sorted1 =( sort { $a->[5] <=>...
Cheers for the reply - what i am trying to do is put the contents of @inorder into $sorted[$increment]
Isthis the wrong way to do this.
The increment statement is fine - the code before what i have shown is a for loop.
matt
Hello
I am trying to split lines do the odd calculation and put the results into an array. basically an array of arrays. After this is done i am trying to sort this array on the 6th field of the arrays it holds. After this i am trying to print out the array to a html table but somewhere along...
Could someone please let me know of anyway way of clearing hases. I have tried %whatever = null; but this this does funny things to my tables i am creating from them i.e. it always inserts a zero for some reason where thre shouldnt be one.
cheers
Hi
I am writing a perl script which prints out a html table containing various variables. I was wondering if anyone would know how to add on mouseover functionality so that when the mouse goes over the text or variable inside the table an alert window pops up
<td>25</td>
i.e. when the user...
Hi
I am writing a perl script which prints out a html table containing various variables. I was wondering if anyone would know how to add on mouseover functionality so that when the mouse goes over the text or variable inside the table a pop up window pops up
print OUT1 "<td>" ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.