Help for this page

Select Code to Download


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