Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: syntax error near else and }

by choroba (Archbishop)
on Feb 04, 2012 at 23:18 UTC ( #951876=note: print w/replies, xml ) Need Help??

in reply to syntax error near else and }

else is used after if, but you are using it after else which is not correct.

Replies are listed 'Best First'.
Re^2: syntax error near else and }
by Generoso (Prior) on Feb 05, 2012 at 00:45 UTC

    Can I suggest you take a look at this link to Given/When example.

      Do you really mean me by "you"?
        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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://951876]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2022-05-17 14:55 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (66 votes). Check out past polls.