Cool . . . Thanks for the tip : )
> > > The easiest thing would be to use Config, and do: > > > > > > $module =~ s[::][$Config{'path_sep'}]g; > > > > > > Right? > > > >Maybe not : ) When checking on 2 linux systems I got a path seperator of > >':'. Can you let me know if you get similar results? > > > > I'm getting the same problem here. It seems like > $Config{path_sep} has been > misunderstood: it gives ':' on Unix and ';' on Windows, so I believe it > means the separator between different items in your PATH > (/usr/bin:/usr/local/bin etc..). > > I think what you need is File::Spec. > > Use this instead: > $module = File::Spec->catfile(split /::/, $module); > > That'll be portable.