Devel-ModInfo
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
ex/MyModule.pm view on Meta::CPAN
#This module is purely for testing ModInfo's
# installation and capabilities
#It doesn't do anything useful itself
package MyModule;
use XML::DOM;
use CGI;
use IO::Handle;
@ISA = qw/ Exporter Autoloader NiceModule /;
sub new {
#This is my object oriented constructor!
my($class) = @_;
return bless {} => $class;
}
sub method1 {
my($self) = @_;
return 1;
}
sub method2($$) {
my($self, $message) = @_;
print "$message!\n";
return 2;
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.242 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )