Subject: | Inline |
Using perl 5.8(Active Perl)
Under WinXP
I found that when I used the inline LIBS => -L to specify a directory, it worked fine as long as I used an absolute path, but if I used a relative path it didn't. ie with the following directory tree
c:\dir\a
c:\dir\a\mylib.lib
c:\dir\b
c:\dir\b\inlinescript.pl
and calling the script from within b
-Lc:\dir\a WORKED
-L..\a DIDN'T work
On further investigation I found that this is due to this argument being passed directly to makemaker, even though makemaker is run in the dir
c:\b\_Inline\build\inlinescript_asdf\
this meant that
-L..\..\..\..\a WORKED
This is very unintuitive and not documented anywhere.
Not sure how you can fix it though.
PS. Inline is awesome. Been having lots of fun with it:)