my(@cvscommits) = ("Lala", "po", "tinkywinky");
my($cvs) = join("
", @cvscommits);
my($updatetime) = "11";
my($line) = "
| $COMPUTERNAME | $processors | $dirtime | $cust | $target | $cotime | $updatetime | $buildtime | $result | $cvs |
\n";
for (@testarray) {
#find the line below
if (/| PC Number<\/th> | Cores<\/th> | Date<\/th> | Customer<\/th> | Target<\/th> | C\/O Time<\/th> | Update time<\/th> | Build Time<\/th> | Status<\/th> | Changes from Last Build<\/th><\/tr>/) {
print "Whee found it \n";
#then add the following line *after it*
$_ .= $line;
last;}}
untie @testarray; #finish the array :)
|
|---|