in reply to "/" with directory in an array

There must be something in your code that is doing this, but you didn't show us that part. What you showed us should work fine:

while(<DATA>){ @array = split '/'; print $array[0]; } __DATA__ C:\Documents and Settings\Claire\Desktop\ /LOG:fgf /L /XF doc /W:3 /R: +10 /COPY:dtao /FP

This gives me "C:\Documents and Settings\Claire\Desktop\".