# New Ticket Created by  [email protected] 
# Please include the string:  [perl #64856]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64856 >


In src/builtins/globals.pir the following code builds @*INC from 
PERL6LIB environment variable:-

    ##  set up @*INC
    $S0 = env['PERL6LIB']
    $P0 = split ':', $S0
    push $P0, '.'
    $P0 = 'list'($P0)
    $P0 = $P0.'Array'()
    set_hll_global '@INC', $P0


It does this by splitting on ':'. Windows paths however can contain a 
':' such as c:\rakudo and instead need to split on semi-colon ';'.

I'm thinking move the above code to after
##  set up $*OS, $*OSVER $*EXECUTABLE_NAME
and split on ';' if $*OS is "MSWin32"

I would do a patch, but this is such a small bug I'm sure jnthn would 
code it better :)


Lyle

Reply via email to