in reply to use (all)


The Module::Require module allows you to do this:
use Module::Require 'require_regex'; require_regex('Metric::.*');

From the pod:

This module provides a way to load in a series of modules without having to know all the names, but just the pattern they fit. This can be useful for allowing drop-in modules for application expansion without requiring configuration or prior knowledge.

--
John.