while(IN){ #### while( ) { #### Bareword found in conditional at yourscript.pl line xx. Name "main::IN" used only once: possible typo at yourscript.pl line xx. #### Bareword "IN" not allowed while "strict subs" in use at yourscript.pl line xx. Execution of yourscript.pl aborted due to compilation errors. #### use strict; use warnings;