Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: need a clearer understandingby Utilitarian (Vicar) |
on Aug 10, 2011 at 09:16 UTC ( [id://919622]=note: print w/replies, xml ) | Need Help?? |
I suspect that your failure to put the code in your question in a code block is the reason people are finding you hard to answer.
If my guess is correct it means exactly the same as the same code in the while ($line = <$IFH>){ line that surrounds the read. It reads the next line into the $line variable (If not end of file) within a block which is only run if the previous line began with a ">" character.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|