- or download this
use Test::More tests => 3;
+
+
use_ok('CGI') or die;
can_ok('CGI', 'start_html');
ok(CGI->start_html, '... and calling it should succeed');
- or download this
package Foo;
use stub qw'this that';
sub AUTOLOAD {...} # required
- or download this
sub _delegate {
# this is not a complete method. It's just here for illustratio
+n
my ($self, $slot, $object) {
...
die "Interface required @missing" if @missing;
return $self;
}
- or download this
package stub;
+
+
sub import {
...
}
+
+
1;