|Syntactic Confectionery Delight|
trigonometric functions give an uncaught user exceptionby neophyte (Curate)
|on May 30, 2001 at 14:39 UTC||Need Help??|
neophyte has asked for the
wisdom of the Perl Monks concerning the following question:
Amazed looking at her code and the error, neophyte ventures to ask:
The following code is part of a program that will be used to find given building stuff (big tubes, in this case) according to input sizes.
I'm using a given formula to calculate b for a given tube with the input of a.
When I execute this code I get a syntax error in the line where $b is defined. No more information, so when I execute this with use diagnostics I get Uncaught exception from user code: syntax error at noname.pl line 8, near ");"
which really doesn't help me. I already looked for missing punctuation and unpaired brackets, but I cannot find anything.
Please tell me what's wrong with that piece of code.