develooper Front page | perl.perl6.users | Postings from October 2018

eof ?

Thread Next
From:
ToddAndMargo via perl6-users
Date:
October 9, 2018 08:03
Subject:
eof ?
Message ID:
ae874b95-2711-8dbd-0c73-8937e5ddafb7@zoho.com
Hi All,

When reading a text file
     https://docs.perl6.org/routine/lines
seems pretty straight forward.

Question:  How do I tell when I when I have
reached the EOF (End Of File)?

Many thanks,
-T

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About