hello99hello
Programmer
Somewhat embarrassed to ask this question:
Could anyone tell me why the comment is not evaluating
if (($array[5] eq "FULL TIME") && ($array[11] eq "BCGE2")){
$array[5] = "ARREARS";
$array[11] = "ARREARS";
print "The element 5th is now $array[5] \n" ; #This is not comming out at all.
print "The element 11th is now $array[11] \n" ; #This is not working as well.
However, the following works:
if ($array[5] eq "FULL TIME"){
$array[5] = "ARREARS";
print "The element 5th is now $array[5] \n" ;
print "The element 11th is now $array[11] \n" ;
Thanks for your advise.
Could anyone tell me why the comment is not evaluating
if (($array[5] eq "FULL TIME") && ($array[11] eq "BCGE2")){
$array[5] = "ARREARS";
$array[11] = "ARREARS";
print "The element 5th is now $array[5] \n" ; #This is not comming out at all.
print "The element 11th is now $array[11] \n" ; #This is not working as well.
However, the following works:
if ($array[5] eq "FULL TIME"){
$array[5] = "ARREARS";
print "The element 5th is now $array[5] \n" ;
print "The element 11th is now $array[11] \n" ;
Thanks for your advise.