http://qs321.pair.com?node_id=570193


in reply to Re: Read entire file from given folder
in 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.