in reply to Re^3: Include directories not included
in thread Include directories not included

Unfortunately I have tried to do more than one and the second -I seems to not work. INC => ("-I$path", "-I$path")
This fails as I get an invalid usage. by doing it most other ways INC => ("-I'$path, $path'")
This seems to do nothing.

Replies are listed 'Best First'.
Re^5: Include directories not included
by Corion (Patriarch) on Jul 06, 2005 at 10:44 UTC

    You did not get what I was aiming at. I was quoting you how it should look on the command line to the C compiler, not how it should look in your Perl code. In your Perl code, use the following:

    INC => qq{"-I$path"},

    or, if your shell supports single quotes, maybe use this:

    INC => "'-I$path'",
Re^5: Include directories not included
by Tanktalus (Canon) on Jul 06, 2005 at 14:32 UTC

    Being the incredible Inline expert that I am (I've never used it ;-}), I'd try INC => qq{-I"$path1" -I"$path2"}.