# Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl test.pl' use strict; use warnings; use Test::More qw(no_plan); use Data::Display; my $class = 'Data::Display'; my $obj = $class->new; isa_ok($obj, $class); # use Data::Dumper; # print Dumper($obj); my @md = @Data::Display::EXPORT_OK; foreach my $m (@md) { ok($obj->can($m), "$class->can('$m')"); }