in reply to Re^4: Device::USB gives "Use of uninitialized value in concatenation" error
in thread Device::USB gives "Use of uninitialized value in concatenation" error
I'll need to determine what they are supposed to be.
I don't think they have to be set to anything. The idea presumably is that in case they are set they should be appended to whatever CCFLAGS / LDDLFLAGS options have been determined via %Config...
IMHO, the code should either test if those vars are defined before interpolating them, or disable warnings :)
As for your update:
from what I can tell, every ENV variable is assigned something, Why are there still 3 concatenation errors?
If you set them within the Perl source, you'll need to set them in a BEGIN { } block, because due to the use Inine (...) statement, they're being evaluated at compile time of the Perl code.
... BEGIN { $ENV{CFLAGS} = ''; $ENV{CPPFLAGS} = ''; $ENV{LDFLAGS} = ''; } use Inline ( ... ... ); ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Device::USB gives "Use of uninitialized value in concatenation" error
by holandes777 (Scribe) on Dec 11, 2013 at 01:20 UTC | |
by Corion (Patriarch) on Dec 11, 2013 at 07:44 UTC | |
by Anonymous Monk on Feb 27, 2014 at 08:59 UTC |