hi, all,
the answer to my question in probably obvious to all but me, but i don't
know how to test for end-of-file. basically, i want the conditional to
test TRUE if $lineCounter eq $lineLength OR the end-of-file has been
reached. i can't find how do this in my learning perl or the perl faqs
i'
i should have mentioned that this is a modified script from lincoln
stein's book, network programming with perl, which i highly recommend.
james
james derry wrote:
this might not be the best-written script, but might this help?
#!/usr/bin/perl
# file: pop_fetch.pl
#text attachments are
this might not be the best-written script, but might this help?
#!/usr/bin/perl
# file: pop_fetch.pl
#text attachments are first appended to a single file, then that file is
re-opened for reading and its lines are first matched to one of two
regular expressions.
# depending on match, the line is