in reply to File::Spec splitdir
Seems like you could just use join here:
You can also better write your declaration as:my @dirs = File::Spec::Win32->splitdir($directories); my $delimiter = '!!SPLORG!!'; print join($delimiter, @dirs) . "|$Name"; print "\n";
Hope this helps!my ( $volume, $directories, $file ) = File::Spec::Win32->splitpath( $P +ath );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Spec splitdir
by davidinottawa (Initiate) on Oct 26, 2015 at 17:50 UTC |