Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?

by prospect (Acolyte)
on Jul 24, 2017 at 08:42 UTC ( [id://1195857]=note: print w/replies, xml ) Need Help??


in reply to Re: Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?
in thread Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?

Omg I was stuck looking at line 18! Thank you, I thought I was going crazy :p (faith restored)
  • Comment on Re^2: Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?

Replies are listed 'Best First'.
Re^3: Why am I getting "syntax error at Funcy.pl line 18, near "$barney return" ?
by Laurent_R (Canon) on Jul 24, 2017 at 09:00 UTC
    Hi prospect,

    when you you have a syntax error indicating the last line of the program, it is very often the case that the actual error is somewhere earlier, sometimes much earlier, in the code.

    In these cases, the error is quite often a missing semi-colon, a missing closing quote mark for a string, a missing closing parenthesis or square bracket, and so on.

      Ok thank you for the explanation, just the kind of wisdom I was looking for going forward

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found