Wiggins has asked for the wisdom of the Perl Monks concerning the following question:
This warning appears every time I run this program, but it runs anyway.Operator or semicolon missing before &__inline at (eval 117) line 1 (# +1) (S ambiguous) You used a variable or subroutine call where the par +ser was expecting an operator. The parser has assumed you really mean +t to use an operator, but this is highly likely to be incorrect. For . +..
Where/what is the offending code??
-- UPDATE ------
I found the same message in a Ubuntu bug report. It is a 1-line include with +W processing. https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1045250
But no description of Why or what it means.
-- UPDATE 2 ----
removing
stopped the warning message from appearing, and also clean compiles.require 'sys/ioctl.ph;
did not stop the warnings.{ no warnings; require 'sys/ioctl.ph; }
It is always better to have seen your target for yourself, rather than depend upon someone else's description.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stumped by a warning (carp)
by tye (Sage) on Nov 14, 2012 at 16:28 UTC | |
by Wiggins (Hermit) on Nov 15, 2012 at 15:43 UTC | |
by tye (Sage) on Nov 15, 2012 at 17:47 UTC | |
by Wiggins (Hermit) on Nov 16, 2012 at 17:52 UTC | |
by tye (Sage) on Nov 16, 2012 at 18:47 UTC | |
|
Re: Stumped by a warning
by toolic (Bishop) on Nov 14, 2012 at 16:29 UTC | |
|
Re: Stumped by a warning
by tobyink (Canon) on Nov 14, 2012 at 16:27 UTC | |
|
Re: Stumped by a warning
by frozenwithjoy (Priest) on Nov 14, 2012 at 16:09 UTC |