#!/usr/bin/perl use strict; use warnings; use 5.10.0; my $dir = "C:/Users/ST/DesktopSample"; opendir (my $gdh, $dir) or die "Unable to open main directory"; say for readdir($gdh); closedir($gdh);
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re^3: Iterate trough a series of folders
by kennethk
in thread Iterate trough a series of folders
by BlueStarry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |