View Single Post
Old 11-16-2011, 12:40 AM   PM User | #10
FishMonger
Super Moderator


 
Join Date: May 2005
Location: Southern tip of Silicon Valley
Posts: 2,753
Thanks: 2
Thanked 149 Times in 144 Posts
FishMonger will become famous soon enoughFishMonger will become famous soon enough
Since you haven't posted a sample of the file you're parsing or given a clear and accurate description of its format, it's impossible for us to say why your parsing is failing.

Start by adding these 2 pragmas (which should be in every Perl script you write) and do the best you can on fixing the problems that they point out.
Code:
use strict;
use warnings;
Then post your script and a sample of the file that you're parsing and the errors and warnings that your script generates.
FishMonger is offline   Reply With Quote