Well, I guess it depends on why you were assigning <GIN> to $test. If you were doing it because you wanted to assign the current line of the program to $test, you could just cut out the middleman and do something like: while($test = <GIN>){ or if you just want to check the status of the current line somewhere, why don't you just do a $test = $_; I guess it would help if you let us know what you were trying to do.
-----Original Message----- From: Eric Walker [mailto:[EMAIL PROTECTED] Sent: Wed 12/31/2003 11:53 AM To: Tim Johnson Cc: perlgroup Subject: RE: <GIN> Yea, I did do the $test = <GIN>; Is there anyway to sync them back up instead of rewriting my code? On Wed, 2003-12-31 at 12:51, Tim Johnson wrote: <snip> while(<FILEHANDLE>){ print $_; $test = <FILEHANDLE>; print $test; }