"be consistent" | |
PerlMonks |
Re^5: Creating a new file in a directoryby Corion (Patriarch) |
on Aug 21, 2015 at 07:49 UTC ( [id://1139385]=note: print w/replies, xml ) | Need Help?? |
Yes, that means you have a newline in $mycrdir. This is because you read $mycrdir from the user and that readline includes the final newline as entered by the user. You could have shown this part of your code as well to make it more obvious that $mycrdir is read from the outside.
In Section
Seekers of Perl Wisdom
|
|