I have a list of filenames, and for each one I want to create a directory with that filename. However, I keep getting directories with '?' on the end that don't actually seem to exist. Can anyone advise? Thanks!
open (FILE, "all_controls.txt") or die "can't open file $!"; my @file=<FILE>; foreach my $file (@file) { mkdir "$file"; }
In reply to mkdir in a loop? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |