I'm trying to write a program in which I have to make two passes through the file. I want to call the file on the command line and process it with 'while (<>){...'. Can I use something like 'seek STDIN, 0, 0' between the two while loops to reset the diamond operator to the beginning of the input file? I tried this but the program seemed to just hang, waiting for input.
Thanks in advance for your help and suggestions. -Kevin Kevin Zembower Internet Services Group manager Center for Communication Programs Bloomberg School of Public Health Johns Hopkins University 111 Market Place, Suite 310 Baltimore, Maryland 21202 410-659-6139 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/