$line = "one % : thrre blblblb % 545334\n"; chomp($line); print "$line valid\n";
If you get
one % : thrre blblblb % 545334 valid
then someting is really wrong with your perl.
If you get,
one % : thrre blblblb % 545334 valid
then chomp is working and my previous post stands. Answer the questions in my previous post if you want to find the problem. I've just added code snippets in that post to help you answer the questions.
In reply to Re^3: chomp not working
by ikegami
in thread chomp not working
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |