Re: Newbie: String concatenation limited to 256 characters?
From: Piet (pit.grinja_at_gmx.de)
Date: 09/30/04
- Next message: Bart Lateur: "Re: Precedence of exponentiation"
- Previous message: Jari Aalto+mail.perl: "Emacs modules for Perl programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2004 23:11:06 -0700
pit.grinja@gmx.de (Piet) wrote in message news:<39cbe663.0409290921.1f67d3f9@posting.google.com>...
> Hello,
> I have written a small script that parses an (ugly) HTML file line by
> line and converts the relevant information to CSV. During parsing, I
> heavily use string concatenation to glue together parts of text that
> belong together (but might be separated in the original file by tags
> or newlines). In the code, the expression
> $oldstring = $oldstring.$newstring
> occurs very often.
> Frequently, the strings get longer than 256 characters. At this point,
> the string concatenation refuses to add anything to $oldstring. How is
> it possible to avoid that?
> Thanks in advance for answers on a (maybe very newbish) question
Thanks for all your comments. In fact, the problem was, of course, NOT
perl. How could it... My fault was that I didnīt check the original
text output file of the parsing, only the contents that survived
importing the text file into M$e...l.
I apologize for that.
Piet
- Next message: Bart Lateur: "Re: Precedence of exponentiation"
- Previous message: Jari Aalto+mail.perl: "Emacs modules for Perl programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]