in reply to STDIN help for a new Perl coder
Look at chomp. That should give you a clue.
When you have a question about the value of a variable. It's a good idea to print it with delimiters around the value. Not all characters are visible.
print "[$dir]\n";
G. Wade
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: STDIN help for a new Perl coder
by perlJourney (Initiate) on Jul 15, 2009 at 18:03 UTC |
In Section
Seekers of Perl Wisdom