![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Relationship between Chomp() operator and STDINby tty1x (Novice) |
on Apr 30, 2013 at 04:34 UTC ( #1031312=perlquestion: print w/replies, xml ) | Need Help?? |
tty1x has asked for the wisdom of the Perl Monks concerning the following question: The output I expected after entering 'aaa' as input : but the output came up to be : I assumed Chomp has already removed the /n character for STDIN, why has the next print still print on a new line ?
Back to
Seekers of Perl Wisdom
|
|