- or download this
$PathOnly = "c:\Dir1\Dir2\Dir3";
@SubDirs = split('\', $PathOnly);
- or download this
@SubDirs = split('\\', $PathOnly);
- or download this
@SubDirs = split("\\", $PathOnly);
- or download this
my $SplitAt = "\\";
my @SubDirs = split($SplitAt, $PathOnly);
- or download this
my $SplitAt = "\\\\";
my @SubDirs = split($SplitAt, $PathOnly);
- or download this
my @SubDirs = split("\\\\", $PathOnly);