in reply to Re^2: syntax error near else and }
in thread syntax error near else and }

Do you really mean me by "you"?

Replies are listed 'Best First'.
Re^4: syntax error near else and }
by maitai091054 (Initiate) on Feb 05, 2012 at 23:10 UTC
    Chorob, Thank you for your response. Since I am new to this PerlMonks site took me a while to figure out where replies to my query would go. I don't understand your comment as there are a number of if statements and a matching else for each...if you could explain a bit more I would appreciate it.
      there are a number of if statements and a matching else for each
      I have not verified whether each statement has its if, but there is definitely an else without an if. It is located at the very place of the error:
      41 else { 42 $hold = $hold.$hold; 43 } 44 else {
      Do you see it?  else {...} else