in reply to Re: Read entire file from given folderin thread Read entire file from given folder
Can also be written as:
chomp(my $dir = <STDIN>);
It's nice because you don't have to write two statements, and it is very clear.
Igor 'izut' Sutton
your code, your rules.