in reply to Read entire file from given folder
You're reading the $dir from STDIN? My guess is you forgot to get rid of the newline. Try
holli, /regexed monk/
And next time, please post the code that does *not* work.$dir = <STDIN>; chomp $dir;
holli, /regexed monk/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Read entire file from given folder
by izut (Chaplain) on Aug 29, 2006 at 15:40 UTC |
In Section
Seekers of Perl Wisdom