my $ref;
my @dx;
foreach $ref (@res) {
- if ($self->ve7cc) {
+ if ($self && $self->ve7cc) {
push @out, VE7CC::dx_spot($self, @$ref);
} else {
if ($real) {
- push @out, $self->format_dx_spot(@$ref);
+ push @out, DXCommandmode::format_dx_spot($self, @$ref);
} else {
push @out, Spot::formatl(@$ref);
}