in reply to module problems

Alternatively, export the function from your module
package my_mod; BEGIN { our @ISA = 'Exporter'; our @EXPORT_OK = qw( cat ); require Exporter; } sub cat{ print "meeow.\n"; } 1;
use my_mod qw( cat ); cat();