in reply to 2*pi*$r -- constant function without prototype
Omitting parens around arguments is fraught with peril. You've just encountered yet another situation where the parser gets "confused".
It's my understanding that the constants created using constant and using functions with the empty prototype are not identical anymore, and that using constant is the recommended method.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: 2*pi*$r -- constant function without prototype
by why_bird (Pilgrim) on May 01, 2008 at 10:50 UTC | |
by almut (Canon) on May 01, 2008 at 11:21 UTC | |
by mscharrer (Hermit) on May 01, 2008 at 21:30 UTC | |
by BrowserUk (Patriarch) on May 01, 2008 at 11:12 UTC | |
by mscharrer (Hermit) on May 01, 2008 at 13:16 UTC | |
by BrowserUk (Patriarch) on May 01, 2008 at 13:53 UTC | |
by parv (Parson) on May 01, 2008 at 22:57 UTC |