Greets,

None of these seem to do anything. In every case, I get the "Insecure dependency" error.

[example 1]

use Inline Config =>
           ENABLE => 'UNTAINT';
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC

[example 2]
use Inline (Config =>
          'UNTAINT' => 1);
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC

[example 3]
use Inline C => (Config =>
           ENABLE => 'UNTAINT');
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC

[example 4]
use Inline C => Config =>
          ('UNTAINT' => 1);
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC

[example 5]
use Inline Config =>
          ('UNTAINT' => 1,
            SAFEMODE => 0);
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC

[example 6]
use Inline Config =>
          SAFEMODE => 0,
          'UNTAINT' => 1;
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC


If I remove the -T switch from the shebang line of the cgi script, it works fine.

... [time passes] ...

OK, making progress.  This works with -T:

[example 7]
use Inline Config =>
          DIRECTORY => '/path/to/specific/_Inline',
          'UNTAINT' => 1;
use Inline 'C' => <<'ENDC';
/* C code here */
ENDC

... And I don't need to specify SAFEMODE => 0 for it to work.

Needless to say, specifying DIRECTORY ain't gonna fly in a CPAN distro. So I have to figure out how to make the multi-module install work. THEN I need to see if specifying VERSION means I can turn on UNTAINT and get away with not specifying DIRECTORY.

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/

Reply via email to