Hi,

Chris Coggins <cacogg...@cox.net> asked:
> Is there a limit to the length of a string in perl? I'm combining about
> 200 pieces of data into a single string and writing the string to a
> file and am getting some weird behaviors every once in a while. Does perl
> have a limit on the length of a string it writes to a simple file?

In Perl, string size is limited to the amount of memory available to your 
process, which may be less than the amount of memory installed in your computer.

Care to elaborate on "weird behavior" for us?

Could it be a file systems problem, i.e. writing more than 4GB to a single file 
on a FAT32 filesystem?

Does the weirdness happen in the context of a web application? If yes, could it 
be a file locking issue?

If it's none of the above, did you run a memtest yet?

HTH,
Thomas


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to