#!/usr/bin/perl ### the file doing the requiring use strict; use warnings; use lib '/path/to/lib'; require('tmp.pl'); asdf();