What is the best way to exclude row_separator rows when iteratiing through ->foreach
this is example of where I am(in perl)
$liststore->foreach(sub{
my ($model,$path,$iterrow)= @_;
if ($model->get($iterrow,0)){
say '8308 ',$path->get_indices,$model->get($iterrow,0);
}
return 0
}
);
Is there a better way? or a method which identifies a row_separator row.