http://qs321.pair.com?node_id=1232053


in reply to Re^7: how to read input from a file, one section at a time?
in thread how to read input from a file, one section at a time?

Hi Poj,
I'll try not to ask any further questions. Actually, after I ran the cleanup script, I tried to run the above count script (for counting existing and missing alphabets) that we discussed earlier. But now it has started giving me errors such as:
Use of uninitialized value in printf at present_and_absent.pl line 58, <$PROTFILE> chunk 1426.
Use of uninitialized value $name in printf at present_and_absent.pl line 33, <$PROTFILE> chunk 1178.
Use of uninitialized value $name in concatenation (.) or string at present_and_absent.pl line 35, <$PROTFILE> chunk 1178.
Can you please help me with this?
  • Comment on Re^8: how to read input from a file, one section at a time?

Replies are listed 'Best First'.
Re^9: how to read input from a file, one section at a time?
by davi54 (Sexton) on Apr 02, 2019 at 22:12 UTC
    Nevermind, I figured it out. There is no ">" in the cleaned headers which is why the script is getting errors.
    Thanks again!