in reply to Loading a module into many packages
I don't have any package declarations in mymodule.pm; it's just a file with a lot of functions.That's your problem. Use declaration package mymodule; in it and use Exporter to export your functions.
Also note that Class::Contract isn't meant for production according to Categorized Damian Modules.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Loading a module into many packages
by arkturuz (Curate) on Oct 27, 2006 at 09:09 UTC | |
by diotalevi (Canon) on Oct 27, 2006 at 13:47 UTC | |
by arkturuz (Curate) on Oct 27, 2006 at 14:56 UTC |