|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: split functionby Marshall (Prior) |
| on Jan 25, 2012 at 07:40 UTC ( #949843=note: print w/ replies, xml ) | Need Help?? |
|
A more normal formulation of this would be: $a,$b,$1,$2 etc are special variables that Perl uses. Never assign values to any of these. These should be "read only" variables as far as your code is concerned.
Is there a limit of length that split function can handle, otherwise, it will truncate the line into next line. is there a way how to resolve it? There is no "hard limit" on the length of the expression that split can handle nor is there a limit on the size of the resulting array. ...well ok.. there is a limit somewhere, but this limit is certainly not 36 ... it is in the range of many thousands or even more... In a practical sense: NO. There is no limit, meaning that the limit is so huge that you won't encounter it in normal programming.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||