Calls without parens need to go to pre declared subs, hence a compile time error.
perl -c -we" use strict; Log 'There is an issue'" String found where operator expected at -e line 1, near "Log 'There is + an issue'" (Do you need to predeclare Log?)
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^3: How to identify incorrect subroutine calls in a perl program
by LanX
in thread How to identify incorrect subroutine calls in a perl program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |