use constant eXEO # the object created from the main src module. => quotemeta q/a-visprint\$(EXEEXT)/; use constant eXEF # the main exe target file. => quotemeta q/alpha-visprint.o/; my $r_exeo = eval { "qr{".eXEO() ."}" }; my $r_exef = eval { "qr{".eXEF() ."}" };