Skip to content

Instantly share code, notes, and snippets.

@larsen
Created September 30, 2011 09:57
Show Gist options
  • Save larsen/1253320 to your computer and use it in GitHub Desktop.
Save larsen/1253320 to your computer and use it in GitHub Desktop.
while ( my $row = $csv->readline( $fh )) {

	test
	
	my ( $field_1,
		 $field_2,
		 ...
		 $field_n ) = @$row;
		
	# ... do something interesting with the fields ...
	
	$csv->print( $new_row );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment