Last active
June 19, 2018 22:14
-
-
Save MattOates/718cea59c8b48acd02c5a74ce016b961 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
open my $file, '<', '../../example-input.csv'; | |
while(my $record = <$file>) { | |
chomp $record; | |
my ($ElementId, $VehicleId, $Term, $Mileage, $Value) = split ',', $record; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment