Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Input from Standard Inputby kevind0718 (Scribe) |
on Feb 13, 2012 at 01:16 UTC ( [id://953372]=perlquestion: print w/replies, xml ) | Need Help?? |
kevind0718 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Kind Monks:
Working my way through Learning Perl (The Llama).
In chapter 5, Input and Output there is this sample:
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. KD
Back to
Seekers of Perl Wisdom
|
|