In the matter of obtaining the filenames, I fully agree with dHarry, use readdir & co.$name =~ /^(.{0,4})/ && print "$1\n";
In reply to Re: How do i take the first 4 characters of any file name in a specified directory?
by pjotrik
in thread How do i take the first 4 characters of any file name in a specified directory?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |