Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
split() takes a regex, dammit!
  • Loading branch information
Dave Cross committed Feb 5, 2016
1 parent 35e6d77 commit c19465d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart
Expand Up @@ -40,7 +40,7 @@ while (<>) {
chomp;
my ($line) = split /#/;
next unless $line && $line =~ /\S/;
my @person = split ',', $line;
my @person = split /,/, $line;
if (@person < 3) {
warn "Invalid record: $_\n";
next;
Expand Down

0 comments on commit c19465d

Please sign in to comment.