# from Ken Williams
# on Thursday 26 January 2006 05:42 pm:

>On Jan 26, 2006, at 7:34 PM, Patrick LeBoutillier wrote:
>> Just to make things clear. I believe that this is an Inline.pm issue
>> and is not specific to Inline::Java. I am right on this (or else
>> I'll see what I can do)?
>
>Yeah, that's my understanding too.  I haven't actually laid eyes on
> the offending code, though.

Probably the classic "system in scalar context" deal

        system "$perl $INC -MInline=_CONFIG_ -e1 $dir"
          and croak M20_config_creation_failed($dir);

My bet is that
        system($perl, $INC, '-Minline=_CONFIG_' , '-e1' $dir)

might work.  Not tested though, and I bet it breaks in a different way 
because a few lines above that $INC gets constructed with a join.  
Rework it to @inc and it will probably do.

--Eric
-- 
Introducing change is like pulling off a bandage: the pain is a memory
almost as soon as you feel it.
--Paul Graham
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to