Eric Walker wrote: > > Yea, I did do the $test = <GIN>; > > Is there anyway to sync them back up instead of rewriting my code?
Hi Eric. It depends on what you want to do. Every time Perl executes <GIN> it pulls a new record from the file, whether it's in the condition of a 'while' loop or in a statement on its own. If you write while (<GIN>) { my $test = $_; : } then you will probably get what you expect, but you need to understand why. You must explain in English what you're trying to do and show us your exact code for us to be able to help properly. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>