in reply to Appending values to variable.
my $newpath = join '\\', @dirs; [download]
$filepath =~ tr!/!\\!; [download]
After Compline,Zaxo