in reply to How do i take the first 4 characters of any file name in a specified directory?
In the matter of obtaining the filenames, I fully agree with dHarry, use readdir & co.$name =~ /^(.{0,4})/ && print "$1\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do i take the first 4 characters of any file name in a specified directory?
by moritz (Cardinal) on Sep 17, 2008 at 07:59 UTC |