The code below returns me nothing.

Discussion in 'Perl Misc' started by Facco Eloelo, Jul 30, 2004.

  1. Facco Eloelo

    Anno Siegel Guest

    For the same reason I gave in my reply to your original posting.
    The following loop reads the filehandle D2 once to eof. This happens
    the first time through the outer loop. On the second and further rounds,
    D2 already is at eof, so the inner loop doesn't do anything.
    It runs as often as you make it, but only the first round *does*

    Anno Siegel, Aug 1, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.