The read builtin is passed only one name so it will read all of the line (except the newline) into a single variable
You're right. I misread or misinterpreted "with leftover words and their intervening separators assigned to the last name.", and proceeded to run what must have been a bad test.
In reply to Re^5: how to write a perl one liner?
by ikegami
in thread how to write a perl one liner?
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |