cat test.csv 1,undef,2 2,3,undef my $data = GD::Graph::Data->new(); $data->read(file => '/tmp/test.csv', delimiter => ',');