Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compilation errors

Status
Not open for further replies.

altaratz

ISP
Apr 15, 2001
73
US
I'm pretty new to Perl, and I thought I wrote an airtight script - (database query), however, when I use my perl interperter, I keep getting ".cgi has compilation errors" - anyone have any idea about what constitutes a compilation error, usually?

Thanks, Ethan Altaratz

 
It could be any number of things, here's a common few:

Punctuation (this is most likely). Look for missing curly brackets on if and for statements, missing parens on function calls, missing quotes on strings, missing semicolons.

Mispelled function name, subroutine name or variable name.

Required file not found.
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
run the programme with -w switch enables, this will give a more complete report of where the erro lies followed by "aborted due to compilation errors"
Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top