RE: <GIN>
From: Eric Walker (ewalker_at_micron.com)
Date: 12/31/03
- Next message: Tim Johnson: "RE: <GIN>"
- Next in thread: Tim Johnson: "RE: <GIN>"
- Maybe reply: Tim Johnson: "RE: <GIN>"
- Reply: Rob Dixon: "Re: <GIN>"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Tim Johnson <tjohnson@sandisk.com> Date: 31 Dec 2003 12:53:54 -0700
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:ewalker@micron.com]
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.
- Next message: Tim Johnson: "RE: <GIN>"
- Next in thread: Tim Johnson: "RE: <GIN>"
- Maybe reply: Tim Johnson: "RE: <GIN>"
- Reply: Rob Dixon: "Re: <GIN>"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|