Then the text talks about how this foreach, because it is in list context. Will load the full <STDIN>. My question is: Where is the input stored? In @_ I do not think so. How can I get the length of the input? Maybe I had read in a large file and I only wanted to process the last 50 lines. As always thanks for your kind assistance. KDforeach(<STDIN>) { print "I saw $_"; }
In reply to Input from Standard Input by kevind0718
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |