in reply to dynamic loading of modules

there is a "workaround": either move $mod1 into the begin-block:
package SearchMachine; use warnings; use strict; BEGIN { my $mod1 = "/path/MySearch.pm"; require $mod1; }
or move the require out of the begin block:
package SearchMachine; use warnings; use strict; my $mod1 = "/path/MySearch.pm"; require $mod1;

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"