in reply to find th bug!!!

I did a view source on this page and it shows the script correctly so I am going to try to repost it for him with code tags.
I am trying to run the programme but am gettiing thre following error, so it is a request to monks to pls help me out!!!!syntax error at checkdataperl.p line 249, near "for" syntax error at checkdataperl.p line 250, near "++) " syntax error at checkdataperl.p line 286, near "}" Execution of checkdataperl.p aborted due to compilation errors. <CODE> #!/usr/local/bin/perl print("\n \nWelcome !! Please input the response very carefully in this programme whenever asked for \n Now please ensure that before running the programme you have run the vp29apr programme for the corresponding hour and also the 1d files for the j or t hour as applicable are has also been run upon \n Now please enter the hour for which you want to check the data quality (a,b,..x) \n?" ); $hour=<STDIN>;chop($hour); print("you entered ", $hour ,"\n"); $comparison=3;@arrone=();@arrtwo=(); @array=("o","p","q","r","s","u","v","w","x","a","b"); if ($hour eq "j") { $comparison=$hour; } elsif($hour eq "t") { $comparison=$hour; } else { for($n=0;$n<=10;$n++) { if($array$n eq $hour) { $comparison="t"; } } } if($comparison ne "t") { if($comparison ne $hour) { $comparison = "j"; } } print("\n the value of comparison is ", $compariso