Jason Wozniak wrote: > while (<>) { > @files = <STDIN>; > }
Hi Jason, the <> operator loads $_, and moves the file pointer to the next line. That's why you miss the first line in your progam when it is overwritten by <STDIN>. Instead, try: while (<>) { push(@files, $_); } Joseph -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]