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.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: Loading a module into many packages
by diotalevi
in thread Loading a module into many packages
by arkturuz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |