Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^4: Another newb question

by dasgar (Curate)
on Aug 09, 2012 at 03:54 UTC ( #986412=note: print w/replies, xml ) Need Help??

in reply to Re^3: Another newb question
in thread Another newb question

Well, I didn't actually run the code myself. Thought I'd share what I did in case it helps others.

I just cut and pasted the OP's code into Padre. It marked the last two lines of code as having issues. When I moved my mouse over the next to last line, Padre showed the same error message that the OP listed. However, that line looked correct to me.

Here's the key part. From past experience, I figured that if the line that is indicated as having issues by the Perl interpreter, then I needed to check the line(s) before it. In my code, the cause has usually been missing semi-colon or I had opened a closure (single quotes, double quotes, square bracket, etc.) and failed to close the closure. Those two kinds of mistakes usually has caused the Perl interpreter to complain about an incorrect line number in my code.

Anyways, when I started checking the other lines of code, that's when I noticed the missing semi-colon.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986412]
[Corion]: Yay, vacation time now - one week off work (but a Perl workshop in the middle ;)) )
[talexb]: TStanley I just realized that I was in your area for a convention back in April. We were at the high school for the weekend, the one with the long driveway. Nice spot.
[TStanley]: I am heading to Arlington, Virginia next week, then I get to spend an entire week at home. Looking forward to that as I will have spent 7 weeks on the road by the end of next week
[talexb]: That's a long road trip. I haven't travelled for business in years.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-06-23 14:23 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (548 votes). Check out past polls.