The only thing you need to worry about is the size of the file you can create and the size of the file you can read.
Computers do not know anything about strings, which is the interpretation of bytes in a file. We decide that there is some sequence of characters that delimit the end of the line, and then tell our programs to extract material from the file until it reaches that sequence. For us, this is the line.
For example, you can define a line in a text file to end with a comma:
$/ = ','; while( <DATA> ) { chomp; print "Line is: $_\n"; } __DATA__ a,b,c,d,e,f,g
Although it looks like I have one line under __DATA__ , this is only because we are used to books. Computers do not read books. Instead, this program thinks that everything between commas is a line:
Line is: a Line is: b Line is: c Line is: d Line is: e Line is: f Line is: g
brian d foy
source share