- or download this
#!/usr/bin/perl -w
use strict;
...
my $foo = Foo->new();
$foo->runTests();
- or download this
sub runTests {
my ($self) = @_;
...
$self->$symname() if $self->can($symname);
}
}
- or download this
sub runTests3 {
my ($self) = @_;
...
$self->$symname() if $self->can($symname);
}
}