in reply to including another perl file

There's no need for eval evil or source filter trickery. The simplest method for this is to use perl's own include mechanism.

It's named do 'file;.

included.pl

our %b; @b{'a'..'z'} = 1 .. 26;

#! perl -slw use strict; use Data::Dumper; do 'included.pl'; ## Perl's include. our %b; print Dumper \%b;

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller