##
#FileTwo.pl
package ProgramSpread; #The same package above
BEGIN{}
sub subroutine2{
print "Hello from the sub 2 in ",__PACKAGE__,"\n";
}
return 1;
END{}
####
#using the package
require "FileOne.pl"; #File names containing the package
require "FileTwo.pl";
ProgramSpread::subroutine1();
ProgramSpread::subroutine2();
####