----- Original Message -----
From: "Sisyphus" <[EMAIL PROTECTED]>
>
> If you use the 'use Inline Config => DIRECTORY => ...' option (see the
> cookbook), then maybe find_temp_dir.al doesn't even get looked at. (Dunno
> .... just a thought.)
>
Got curious .... and it seems to work (in so far as I took it):
D:\pscrpt\inline>cat try.pl
use warnings;
use Inline (Config =>
DIRECTORY => 'D:/pscrpt/inline/_Inline',
);
use Inline C => <<'EOC';
void greet() {
printf("Hello World!!\n");
}
EOC
greet();
D:\pscrpt\inline>perl -T try.pl
Hello World!!
If I comment out the config stuff, then I get:
Insecure dependency in require while running with -T switch at
blib\lib\Inline.pm (autosplit into blib\lib\auto\Inline\find_temp_dir.al)
line 1247.
BEGIN failed--compilation aborted at try.pl line 9.
One caveat, though - the first time I ran the script (when it gets compiled)
I needed to do so without the '-T' switch. Once it was compiled I was able
to add the config stuff - and then it would run with the -T switch.
Cheers,
Rob