in reply to Re^2: How to identify incorrect subroutine calls in a perl program
in thread How to identify incorrect subroutine calls in a perl program
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to identify incorrect subroutine calls in a perl program
by ikegami (Patriarch) on Dec 16, 2024 at 20:12 UTC |