use system(@list) form instead:
That does nto work on windows!
The simplest solution to the OP's problem is:
my $source_directory = 'E:\\common\compare\latest folder\PDF\DB\\'; `dir \"$source_directory\" /b/s /o:-d`;
In reply to Re^2: how to dir a directory that have space
by BrowserUk
in thread how to dir a directory that have space
by AtlasFlame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |