Commits

Palmer, 2E0EOL committed 875b213 Draft

Fix some mistakes in the package

Comments (0)

Files changed (1)

lib/Text/CSV/SpiceWorks/Parser.pm

 
 	return bless($self, $class);
 }
-----------------------------------------------------------------------------
+#----------------------------------------------------------------------------
 =head2 Packages
 
 This function returns a list of all packages seen in the CSV file.
 	die('Illegal call') unless ( $self );
 
 	$self->Load();
-	return keys( @{ $self->{_data}->{packages} } );
+	return keys( %{ $self->{_data}->{packages} } );
 }
 #----------------------------------------------------------------------------
 #----------------------------------------------------------------------------