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:
    Well, this sounds like a basic coding mistake, but you haven't actually shown us 
any of your code.  My best bit of advice would be to 1) use strict, 2) use warnings, 
and 3) check if you're doing something along these lines:
     
    while(<FILEHANDLE>){
         print $_;
         $test = <FILEHANDLE>;
         print $test;
    }
     
    which would pull down an extra line while you're assigning the variable and cause 
it to seem to skip one.
     
    
        -----Original Message----- 
        From: Eric Walker [mailto:[EMAIL PROTECTED] 
        Sent: Wed 12/31/2003 9:57 AM 
        To: perlgroup 
        Cc: 
        Subject: <GIN>
        
        
    
        OK, some how my $_ variable is out of sync  with my <> operator.
        
        
        
    
    
    


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to