Don't ask to ask, just ask | |
PerlMonks |
Re^5: chop vs chompby Chady (Priest) |
on May 11, 2007 at 14:08 UTC ( [id://614921]=note: print w/replies, xml ) | Need Help?? |
So what you're saying is:
This will appear in test as.. what? a failure in Program A or Program B? If Program A outputing "\n" at the end of the line is such a cruicial matter, shouldn't you be testing Program A's output explicitly for "\n" (or whatever your seperator is) instead of condeming the use of chomp everywhere? And by using chop, how do you catch this in testing? like so?
I'm just not up to the level to think that deeply into your problem, maybe you can help me understand? He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life. Chady | http://chady.net/
Are you a Linux user in Lebanon? join the Lebanese GNU/Linux User Group.
In Section
Meditations
|
|