Most likely you just need to chomp your input stringopendir(DH, $dir_to_process) or die "Cannot open $dir_to_process: $!";
my $dir_to_process = <STDIN>; chomp $dir_to_process;
In reply to Re: Get a DH from <STDIN>?
by wind
in thread Get a DH from <STDIN>?
by cseligman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |