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="Julian Mehnle, post: 4816916"] If I don't know how to reproduce the bug, then the number of situations I have to test with the debugger grows roughly exponentially with code size. A few minutes ago I luckily found the bug by accident (I was embedding RFC3066-style language tags, e.g. "en", in class names that would then be require'd, which would obviously fail if the lang tag had a hyphen in it, e.g. "en-us"). But the question remains how that bug could have been traced back from the warning message given by Perl. Perhaps Perl should be giving the _real_ line number in the _real_ source file in such cases, as the debugger does? I guess I'm going to file wish to the Perl developers on this one. Thanks for everyone's ideas! Julian. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - [URL]http://enigmail.mozdev.org[/URL] iD8DBQFEa0zAwL7PKlBZWjsRAhM+AJ0fG5rI5R19LZZ/UXb7Lf1mSgNVlQCg+8E1 TuEDbwwhS6d5/U5LQ1BP5+s= =58TJ -----END PGP SIGNATURE----- [/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