Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Untraceable warning: "Warning: Use of "require" without parenthesesis ambiguous at (eval 23) line 1.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Ben Morrow, post: 4816858"] I get ~% perl -v This is perl, v5.8.7 built for i686-linux .... ~% perl -Mdiagnostics=-trace,-warntrace -le'sub foo{warn "foo"; die} foo' foo at -e line 1. at -e line 1 main::foo() called at -e line 1 Uncaught exception from user code: Died at -e line 1. at -e line 1 main::foo() called at -e line 1 However, I also get ~% perl -Mdiagnostics=-w,-t -le'sub foo{require +5} foo' Warning: Use of "require" without parentheses is ambiguous at -e line 1. at -e line 1 : the warning is issued at compile time, so there is no call to &foo in the stack trace, indeed no stack at all yet. The file/line no should be right, though. Ben [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Untraceable warning: "Warning: Use of "require" without parenthesesis ambiguous at (eval 23) line 1.
Top