http://www.perlmonks.org?node_id=471249


in reply to Can I force strictness on included files?

I'm not quite sure what do you mean by that.
From what I understand I guess you just need to include 'use strict' in the file you wish to call. Like this:
use strict; #File name: mydata.pl my $res = {# reference variable value..etc};
Then call it with:
my $another_var = do 'mydata.pl';
Please see tlm's answer to my posting in the same breath with your question.
Regards,
Edward