You need to show how you're reading the file and otherwise handling the data. Nothing you show will truncate lines like that.
You have an error in the code you show that does not cause your problem. Your conditional probably should read if (length( $descr) <= 2000) { ... } .
After Compline,
Zaxo
In reply to Re: Can I read a text of characters and numbers as one string?
by Zaxo
in thread Can I read a text of characters and numbers as one string?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |