Struppi: Use of uninitialized value.

Beitrag lesen

chomp;
my @splitted = split(/|/, $_);
my $IP = $splitted[0];
my $longitude = $splitted[1];
my $latitude = $splitted[2];

  
Wozu brauchst du das Array?  
~~~perl
  
my ($IP, $longitude, $latitude) = split(/\|/, $_);  

Struppi.