in reply to Including code without packaging?

Making a simple module is not difficult and does not require you to learn O-O programming or anything other than a basic formula. For a module with just the function 'foo' create Foo.pm with the following:
package Foo; require Exporter; @ISA =qw(Exporter); @EXPORT =qw(foo); # List funcs to export here sub foo($){ print @_; }
To use it:
use Foo; foo("Hello\n");
--traveler