Hello all,

I do not have any knowledge of perl at all. Downloaded a script to parse information from a website to 2 separate csv files and i keep the same error. The error points to the lines that start with "$csv->print" and says "Use of uninitialized value in subroutine entry". Please help.

#Fixing IPs if (defined $record[7] and $record[7] ne '' and $record[7] ne '1 +27.0.0.1' ) { my @ips = split /\|/,$record[7] ; foreach my $ip (@ips) { $record[7]=$ip; $csv->print ($ips, \@record); } } #Fixing Domains if(defined $record[2] and $record[2] ne '') { $csv->print ($hosts,\@record); }

In reply to Use of uninitialized value in subroutine entry by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":