in reply to How to get the path delimiter in current system?

Try $Config{path_sep}
C:\>perl -V:path_sep path_sep=';'; C:\>


Cheers,
Rob

Replies are listed 'Best First'.
Re^2: How to get the path delimiter in current system?
by Discipulus (Canon) on Jan 23, 2015 at 10:01 UTC
    if I understand correctly Config{path_sep} is relative to %ENV, ie what is the separator in the $ENV{PATH}, not path in the sense of directory path.
    perl -MConfig -e "print $Config{path_sep}" ;

    L*
    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.