package Forble; use strict; use warnings; use DocString; sub veeblefaz :Doc("This method does the 2nd kind of veeblefaz operation!") { # this can be called from elsewhere, with the appropriate package and sub names print Dumper($DocString::docstrings->{+__PACKAGE__}{veeblefaz}); } 1;