I too suspect that it should be shell's limitation.
"too"? I didn't mention the shell at all, but I suppose it could also be the shell's fault.
what actually is the line doing
The first perl creates a long string which is sent to the second perl's STDIN as if someone had typed it. It shows that Perl has no problem reading a line one million bytes long.
In reply to Re^3: Problem with STDIN input
by ikegami
in thread Problem with STDIN input
by Gyatso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |