Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: syntax error near else and }

by Generoso (Parson)
on Feb 05, 2012 at 00:45 UTC ( #951890=note: print w/replies, xml ) Need Help??

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

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

Replies are listed 'Best First'.
Re^3: syntax error near else and }
by choroba (Chancellor) on Feb 05, 2012 at 11:23 UTC
    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.
        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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951890]
[Your Mother]: Corion: I have lost the link to the pmdev guide(s). Do you have that handy?
[karlgoethebier]: Discipulus: see per lop please how to avoid the classic <c>perl 'rm -rfv *|'</>
[Eily]: karlgoethebier: more like grata non persona :P
Discipulus personae non gratae..
[Corion]: Your Mother: Hmm - I have the pmdev nodelet, which has some links, but I'm not sure what links/guides there are
[Corion]: pmdev wiki maybe?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2017-07-21 08:13 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (319 votes). Check out past polls.