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.
In reply to Re^2: Read entire file from given folder
by izut
in thread Read entire file from given folder
by samirpatry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |