A Perl script executes the contents of a file as Perl code with the eval function:
eval
eval `cat $file_name`;