You should definitely put it in a module. That's what code reuse is for; when you want to tweak the subs, you only have to do it once.
, so you can put the module file in the same directory as the scripts themselves. If your scripts exist in many directories, then you could do
to tell perl to look in the correct directory.